Skip to content

Commit 32a0370

Browse files
committed
Fixed wrong parameter expansion
1 parent 809c785 commit 32a0370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbin/spark-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# also should not be passed any arguments, since we need original $*
2121

2222
# resolve links - $0 may be a softlink
23-
this="${BASH_SOURCE-$0}"
23+
this="${BASH_SOURCE:-$0}"
2424
common_bin="$(cd -P -- "$(dirname -- "$this")" && pwd -P)"
2525
script="$(basename -- "$this")"
2626
this="$common_bin/$script"

0 commit comments

Comments
 (0)