From cc1d9883a5308299f477675665c81211fa1d943a Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 13 Jun 2022 14:05:27 -0600 Subject: [PATCH] replace string --- heavy_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heavy_script.sh b/heavy_script.sh index 1168be69..ee47c0d3 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -3,7 +3,7 @@ #If no argument is passed, kill the script. [[ -z "$*" || "-" == "$*" || "--" == "$*" ]] && echo "This script requires an argument, use --help for help" && exit -ARGS="echo $* | sed s/--self-update//" +ARGS="$*" ; echo "${ARGS}//--self-update/" SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTNAME="$0"