summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-11-10 15:46:27 +0200
committerAlon Levy <alevy@redhat.com>2011-11-10 15:46:27 +0200
commit05a8178398c2542d74857fdbdd6b145c4a196642 (patch)
tree7fa12a69ca09e58e3f2ffec73982de52910b56ea
parentdbe61d9320c7a4c23b58ff012769b05ad20d0440 (diff)
autogen.sh: handle ORIGDIR with spaces
-rwxr-xr-xautogen.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh
index 950c2f4..3e6f2cd 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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