<<< Date Index >>>     <<< Thread Index >>>

[PATCH] ./prepare argument handling



./prepare doesn't allow me to pass in options with blanks, such as:

./prepare CFLAGS='-O3 -g -match=athlon-xp'
(results in configure complaining about an unknown option "-g")

Here's a "trivial and obviously correct" patch against CVS which I've
tested successfully, please apply.
I'm putting this patch in the public domain.

Index: prepare
===================================================================
RCS file: /home/roessler/cvs/mutt/prepare,v
retrieving revision 3.0
diff -u -r3.0 prepare
--- prepare     24 Jan 2002 12:10:51 -0000      3.0
+++ prepare     6 Sep 2004 17:57:33 -0000
@@ -8,7 +8,7 @@
 fi
 
 if aclocal -I m4 && autoheader && (cd m4 && make -f Makefile.am.in ) \
-  && automake $include_deps && autoconf && ./configure $@
+  && automake $include_deps && autoconf && ./configure "$@"
 then
   echo
   echo "The mutt source code was successfully prepared."

-- 
Matthias Andree

Encrypted mail welcome: my GnuPG key ID is 0x052E7D95 (PGP/MIME preferred)