iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

Whitespaces in path #12

Open mfelsche opened 12 years ago

mfelsche commented 12 years ago

When trying to build build-couchdb with rake inside a folder-structure containing whitespaces (e.g.: /home/mat/studium/ws11-12/pst/bug test/build-couchdb ) rake aborts with the following output:

[10:41] mat@matux:~/studium/ws11-12/pst/bug test/build-couchdb (master)$ rake (in /home/mat/studium/ws11-12/pst/bug test/build-couchdb) mkdir -p /home/mat/studium/ws11-12/pst/bug test/build-couchdb/build/bin /home/mat/studium/ws11-12/pst/bug test/build-couchdb/dependencies/autoconf-2.59/configure --prefix=/home/mat/studium/ws11-12/pst/bug test/build-couchdb/build --program-suffix=2.59 == Output of config.log == cat config.log cat: config.log: Datei oder Verzeichnis nicht gefunden rake aborted! Command failed with status (1): [cat config.log...]

(See full trace by running task with --trace)

When removing the whitespace from the everything works again. Seems a little error when using mkdir. Rake tries to create two folders without enclosing quotation-marks. There might be some more issues like that inside the script. Happened on both Ubuntu 10.04 x586 and a Mac OSX Snow Leopard.

Nonetheless: Thanks for this great project. It really rocks!

PaulCapestany commented 12 years ago

I just experienced this issue with rake failing as well.

Thanks for providing the solution @mfelsche !