diff --git a/misc/build.func b/misc/build.func index bac97de5..498cee4e 100644 --- a/misc/build.func +++ b/misc/build.func @@ -73,7 +73,7 @@ msg_error() { # Check if the shell is using bash shell_check() { - if [[ "$(basename "$SHELL")" != "bash" ]]; then + if [[ "$(basename "$0")" != "bash" ]]; then clear msg_error "Your default shell is currently not set to Bash. To use these scripts, please switch to the Bash shell." echo -e "\nExiting..."