aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorAva Barron <mztriz@gmail.com>2019-10-07 17:02:46 -0400
committerGitHub <noreply@github.com>2019-10-07 17:02:46 -0400
commitdd85166b6c8200265ff222226305e6823149de19 (patch)
treec7eaa69d0204273c02deadbaed1e63d373826515 /autogen.sh
parentfebc31c641b6930f6dc9a97d9492c868ae032bc3 (diff)
downloadbitcoin-dd85166b6c8200265ff222226305e6823149de19.tar.xz
Added double quotes
Added double quotes to prevent globbing and word splitting.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files 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