[Spice-devel] [PATCH spice-protocol] autogen.sh: handle ORIGDIR with spaces
Alon Levy
alevy at redhat.com
Thu Nov 10 05:47:11 PST 2011
---
jenkins adds a space to the workspace, and failed on this.
autogen.sh | 2 +-
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
--
1.7.7.1
More information about the Spice-devel
mailing list