honor install_framework --pkg parameter
authorGonçalo Queirós <goncalo.queiros@portugalmail.net>
Thu, 23 Dec 2010 00:16:32 +0000 (00:16 +0000)
committerJan Schneider <jan@horde.org>
Thu, 23 Dec 2010 13:21:07 +0000 (14:21 +0100)
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: #9452

framework/bin/install_framework

index 9bbe69c..6e9a8e7 100755 (executable)
@@ -79,7 +79,7 @@ for ($i = 1; $i < count($argv); ++$i) {
         if (!is_dir($pkg) || !file_exists($pkg . '/package.xml')) {
             exit("$pkg is not a valid package directory.\n");
         }
-        $pkg = preg_replace('|/+$|', '', $pkg) . '/package.xml';
+        $pkg = preg_replace('|/+$|', '', $pkg);
         break;
 
     default: