From f11ef25a43fe773cac26e60ffccb615edbfda158 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Mon, 13 Jun 2022 14:35:45 -0600 Subject: [PATCH] test --- heavy_script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/heavy_script.sh b/heavy_script.sh index c19eb5d2..77c56652 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -5,7 +5,7 @@ -ARGS="$@" +ARGS=( "$@" ) SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") SCRIPTNAME="$0" @@ -22,7 +22,7 @@ git fetch git checkout $BRANCH git pull --force echo "Running the new version..." - exec bash "$SCRIPTNAME" "${ARGS//\-\-self\-update}" + exec bash "$SCRIPTNAME" "${ARGS[@]//\-\-self\-update}" # Now exit this old instance exit 1