summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh
index 87c2085..087b62d 100644
--- a/functions.sh
+++ b/functions.sh
@@ -37,7 +37,7 @@
#
chdir()
{
- if [ "$BASH" ]; then
+ if [ "${BASH}" ]; then
# shellcheck disable=3044
shopt -u cdable_vars
fi