autogen.sh: handle ORIGDIR with spaces

This commit is contained in:
Alon Levy 2011-11-10 15:46:27 +02:00
parent dbe61d9320
commit 05a8178398

View File

@ -157,7 +157,7 @@ do_cmd $AUTOHEADER
do_cmd $AUTOMAKE $AUTOMAKE_FLAGS
do_cmd $AUTOCONF
cd $ORIGDIR || exit $?
cd "$ORIGDIR" || exit $?
rm -f config.cache
do_cmd $srcdir/configure --enable-maintainer-mode ${1+"$@"} || exit 1