This commit is contained in:
Heavybullets8 2022-06-13 14:08:45 -06:00
parent 169c5fe8a3
commit eceba192fb

View File

@ -3,7 +3,7 @@
#If no argument is passed, kill the script. #If no argument is passed, kill the script.
[[ -z "$*" || "-" == "$*" || "--" == "$*" ]] && echo "This script requires an argument, use --help for help" && exit [[ -z "$*" || "-" == "$*" || "--" == "$*" ]] && echo "This script requires an argument, use --help for help" && exit
ARGS="$*" ; echo "${ARGS//--self-update/}" ARGS="$*" ; echo "${ARGS//--self-update}"
SCRIPT=$(readlink -f "$0") SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTPATH=$(dirname "$SCRIPT")
SCRIPTNAME="$0" SCRIPTNAME="$0"