diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/repomanage.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/repomanage.php b/examples/repomanage.php index 7682c3d..d4916af 100644 --- a/examples/repomanage.php +++ b/examples/repomanage.php @@ -39,6 +39,7 @@ if (!isset($rpms)) { die("Missing rpm directory argument\n"); } if (is_dir($rpms)) { + $rpms = realpath($rpms); } else { die("$rpms is not a directory\n"); } |