diff --git a/sh/tests/auto-exec-bin_test.sh b/sh/tests/auto-exec-bin_test.sh index 970d45bc5..2fb9157f1 100755 --- a/sh/tests/auto-exec-bin_test.sh +++ b/sh/tests/auto-exec-bin_test.sh @@ -6,10 +6,11 @@ IFS=' ' FILENAME="student/auto-exec-bin.sh" +BINFILE="~/myBins/01exec" script_dirS=$(cd -P "$(dirname "$BASH_SOURCE")" &>/dev/null && pwd) setupbin() { - if [ -f ${FILENAME} ]; then + if [ -f ${BINFILE} ]; then echo "bin already exists!" else mkdir -p ~/myBins