fix
This commit is contained in:
parent
f289cdf76b
commit
8030dbf2b5
@ -4,7 +4,7 @@
|
|||||||
[[ -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 "$@" | sed -E 's/[[:space:]]?--self-update[[:space:]]?//g')
|
ARGS=$(echo "$@" | sed -E 's/[[:space:]]?--self-update[[:space:]]?//g')
|
||||||
|
|
||||||
SCRIPT=$(readlink -f "$0")
|
SCRIPT=$(readlink -f "$0")
|
||||||
SCRIPTPATH=$(dirname "$SCRIPT")
|
SCRIPTPATH=$(dirname "$SCRIPT")
|
||||||
|
Loading…
Reference in New Issue
Block a user