Small fix for System.php _parseArgs
| From: | Pierre-Alain Joye | Date: | Sat, 30 Nov 2002 14:35:17 +0000 |
| Subject: | Small fix for System.php _parseArgs | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-11264@lists.php.net to get a copy of this message | ||
Hello,
Please find as an attachment a small fix for PEAR::System, this fixes
mkdir, mktmp and rm methods.
pear_system.phpt runs successfully with it.
hth
pa
Index: System.php =================================================================== RCS file: /repository/php4/pear/System.php,v retrieving revision 1.21 diff -r1.21 System.php 64c64 < $argv = preg_split('/\s+/', $argv); --- > $argv = preg_split('/\s+/', ': '.$argv); 350a351 > echo '$tmpdir='.$tmpdir."\n";
Index: System.php =================================================================== RCS file: /repository/php4/pear/System.php,v retrieving revision 1.21 diff -r1.21 System.php 64c64 < $argv = preg_split('/\s+/', $argv); --- > $argv = preg_split('/\s+/', ': '.$argv); 350a351 > echo '$tmpdir='.$tmpdir."\n";