[dev] patch (inline) for insta-packages.php
Eduardo Dominguez
lalo at teligens.com
Fri Jan 9 23:42:44 PST 2004
Small change to allow to install from a path that contains spaces:
Index: install-packages.php
===================================================================
RCS file: /repository/framework/install-packages.php,v
retrieving revision 1.7
diff -u -r1.7 install-packages.php
--- install-packages.php 16 Dec 2003 10:58:28 -0000 1.7
+++ install-packages.php 10 Jan 2004 06:15:08 -0000
@@ -22,8 +22,8 @@
$package = $dir . DIRECTORY_SEPARATOR . $entry .
DIRECTORY_SEPARATOR . 'package.xml';
if (file_exists($package)) {
- echo "Installing $entry:\n";
- system("$pear $package");
+ echo "Installing $entry:\n";
+ system($pear . " \"$package\"");
echo "\n\n";
}
}
More information about the dev
mailing list