From dd85166b6c8200265ff222226305e6823149de19 Mon Sep 17 00:00:00 2001 From: Ava Barron Date: Mon, 7 Oct 2019 17:02:46 -0400 Subject: [PATCH] Added double quotes Added double quotes to prevent globbing and word splitting. --- autogen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen.sh b/autogen.sh index 2c434e9ef0..3e922e7e64 100755 --- a/autogen.sh +++ b/autogen.sh @@ -5,9 +5,9 @@ export LC_ALL=C set -e -srcdir="$(dirname $0)" +srcdir="$(dirname "$0")" cd "$srcdir" -if [ -z ${LIBTOOLIZE} ] && GLIBTOOLIZE="$(command -v glibtoolize)"; then +if [ -z "${LIBTOOLIZE}" ] && GLIBTOOLIZE="$(command -v glibtoolize)"; then LIBTOOLIZE="${GLIBTOOLIZE}" export LIBTOOLIZE fi