#19712 [Opn]: phpize reports errors when using directories containing spaces

From: Date: Wed, 02 Oct 2002 12:14:37 +0000
Subject: #19712 [Opn]: phpize reports errors when using directories containing spaces
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21261@lists.php.net to get a copy of this message
ID: 19712 Updated by: hholzgra@php.net Reported By: MuTbKA@ukr.net Status: Open Bug Type: Compile Failure Operating System: Any PHP Version: 4.2.1 New Comment: why do you do that? even if we fix this -> blanks in dirnames are a no-no for developers this fires back in lots of places (e.g. find ... | xargs ... ) so it is an absolute bad idea in the first place ... Previous Comments: ------------------------------------------------------------------------ [2002-10-02 06:52:40] derick@php.net changing category ------------------------------------------------------------------------ [2002-10-02 06:51:25] MuTbKA@ukr.net $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 this bug report at http://bugs.php.net/?id=19712&edit=1

« previous php.bugs (#21261) next »