[ooo-build-commit] .: autogen.sh

Fridrich Strba fridrich at kemper.freedesktop.org
Mon Oct 4 07:17:15 PDT 2010


 autogen.sh |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit a31f37778d611407aaf6f9e08a7be75cdda87dad
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Mon Oct 4 16:16:52 2010 +0200

    Don't quote stuff that does not need to be quoted

diff --git a/autogen.sh b/autogen.sh
index 2725f16..8cb58b1 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -14,8 +14,6 @@ requote_args ()
     sed -e 's/.*configure //' -e 's/=\(\([^"'"'"'-]\|-[^-]\| \)*\)\( \|$\)/="\1" /g'
 }
 
-new_args=`echo $@ | requote_args`
-
 old_args=""
 if test $# -eq 0 && test -f config.log; then
     old_args=`grep '\$ ./configure' config.log | requote_args`
@@ -29,7 +27,7 @@ aclocal $ACLOCAL_FLAGS || exit 1;
 #intltoolize --copy --force --automake
 autoconf || exit 1;
 if test "x$NOCONFIGURE" = "x"; then
-    eval `echo ./configure $new_args $old_args`
+    eval `echo ./configure $old_args "$@"`
 else
     echo "Skipping configure process."
 fi


More information about the ooo-build-commit mailing list