diff --git a/heavy_script.sh b/heavy_script.sh index 28931d09..2f3623fa 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -4,6 +4,7 @@ [[ -z "$*" || "-" == "$*" || "--" == "$*" ]] && echo "This script requires an argument, use --help for help" && exit + ARGS="$@" ; echo "$ARGS" | sed -e 's/[[:space:]]?--self-update[[:space:]]?//' SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT")