From 8030dbf2b5de0f3404fc9fa4686271982f24778d Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 13 Jun 2022 15:08:30 -0600 Subject: [PATCH] fix --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 62d8373b..6eb77eb7 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -4,7 +4,7 @@ [[ -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") SCRIPTPATH=$(dirname "$SCRIPT")