On 5/3/07, Stephen J. Turnbull <stephen(a)xemacs.org> wrote:
We should fix the quoting problem, though, since it's trivial to
do
so. At least the Bash man page specifies the argument to -c as "a
string", so it needs quotes if it contains spaces.
Here's why I asked exactly what went wrong:
bash-3.2$ mkdir "foo bar"
bash-3.2$ cd ./foo\ bar/
bash-3.2$ /e/acs/cvsroot/xemacs-21.4/configure
checking whether ln -s works... yes
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/lisp
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/etc
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/man
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/info
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/tests
/e/acs/cvsroot/xemacs-21.4/configure: line 881: cd: /e/acs/foo: No
such file or directory
/e/acs/cvsroot/xemacs-21.4/configure: line 901: test: too many arguments
...
OK. Edit configure script to add the requested quotes, then
bash-3.2$ /e/acs/cvsroot/xemacs-21.4/configure
checking whether ln -s works... yes
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/lisp
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/etc
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/man
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/info
Making symbolic link to /e/acs/cvsroot/xemacs-21.4/tests
/e/acs/cvsroot/xemacs-21.4/configure: line 881: cd: /e/acs/foo: No
such file or directory
/e/acs/cvsroot/xemacs-21.4/configure: line 901: test: too many arguments
So, adding those quotes is not sufficient to solve the problem of
trying to build in a directory with a space in the name.
- Vin
--
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta