summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorMarco Sirabella <marco@sirabella.org>2020-07-10 23:30:16 (GMT)
committerMarco Sirabella <marco@sirabella.org>2020-07-10 23:30:16 (GMT)
commit982dee5978853ec6412c8a25a38c9f0e9bc05f8e (patch)
treefb7f40efc72a3007196f70b2577851c01210b8f5 /bootstrap
parent5659366bf62b5555bf914b5f55e8a01c92d6c6f1 (diff)
Unset CDPATH for duration of bootstrap script
CDPATH causes the `cd` command to output the directory it's going into sometimes. This actually fixes #849, I got bit by this
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 6c3d6ae..d943016 100755
--- a/bootstrap
+++ b/bootstrap
@@ -6,6 +6,9 @@ if [ "${BASH_VERSINFO[0]}" -lt 4 ]; then
exit 1
fi
+# see #849
+unset CDPATH
+
########################################
# Common meta-language implementation. Syntax:
#