diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2017-02-17 18:37:19 +0000 |
---|---|---|
committer | Uli Schlachter <psychon@znc.in> | 2017-03-01 17:42:21 +0100 |
commit | ce706c62f6a14e52fd3ccaf4faf8712c8f057475 (patch) | |
tree | 36ca71ae19626ca38def1fbc71349b8f08ae6cc7 | |
parent | fa6db2f9c018c54a47e94c0175450303d700aa92 (diff) | |
download | xcb-pthread-stubs-ce706c62f6a14e52fd3ccaf4faf8712c8f057475.tar.gz |
autogen.sh: quote path variables
If the pathname has space things will explode in various ways. Avoid
that by adding quotation marks where applicable.
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Uli Schlachter <psychon@znc.in>
-rwxr-xr-x | autogen.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,13 +1,13 @@ #! /bin/sh -srcdir=`dirname $0` +srcdir=`dirname "$0"` test -z "$srcdir" && srcdir=. ORIGDIR=`pwd` -cd $srcdir +cd "$srcdir" autoreconf -v --install || exit 1 -cd $ORIGDIR || exit $? +cd "$ORIGDIR" || exit $? if test -z "$NOCONFIGURE"; then $srcdir/configure "$@" |