This commit is contained in:
Heavybullets8 2022-06-13 14:53:20 -06:00
parent 4c9ee5de13
commit 8c1db858b8

View File

@ -4,7 +4,6 @@
[[ -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" | sed -e 's/\s?\-\-self\-update\s?//' ARGS="$@" ; echo "$ARGS" | sed -e 's/\s?\-\-self\-update\s?//'
SCRIPT=$(readlink -f "$0") SCRIPT=$(readlink -f "$0")
SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTPATH=$(dirname "$SCRIPT")