From:             [EMAIL PROTECTED]
Operating system: Any
PHP version:      4.2.1
PHP Bug Type:     Reproducible crash
Bug description:  phpize reports errors when using directories containing spaces

$mkdir "My Directory"
$cd "My Directory"
$touch config.m4
$phpize
usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target             
       cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
usage: cp [-R [-H | -L | -P]] [-f | -i] [-pv] src target             
       cp [-R [-H | -L | -P]] [-f | -i] [-pv] src1 ... srcN directory
mv: build/rules_pear.mk: No such file or directory                   

The problem is here:
(cd $phpdir && cp $FILES_BUILD $builddir/build)
(cd $phpdir && cp $FILES $builddir)

We consider that one should use "${phpdir}" and "${builddir}" to eliminate
the problem.

-- 
Edit bug report at http://bugs.php.net/?id=19712&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=19712&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=19712&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=19712&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=19712&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=19712&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=19712&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=19712&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=19712&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=19712&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=19712&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19712&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=19712&r=dst

Reply via email to