diff options
author | 2024-06-27 21:54:45 +0100 | |
---|---|---|
committer | 2024-06-28 18:39:33 +0100 | |
commit | 076c24b986e10aa76cbd614643c87a4c15af6a13 (patch) | |
tree | ecc7ce035760af86ab7231830068f5f11de7aae1 | |
parent | Add the int_between() and str_between() functions to experimental (diff) | |
download | gentoo-functions-076c24b986e10aa76cbd614643c87a4c15af6a13.tar.gz gentoo-functions-076c24b986e10aa76cbd614643c87a4c15af6a13.tar.bz2 gentoo-functions-076c24b986e10aa76cbd614643c87a4c15af6a13.zip |
Use curly braces around a variable expansion in chdir()
Thus adhering to Gentoo's convention.
Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rw-r--r-- | functions.sh | 2 |
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 |