diff --git a/heavy_script.sh b/heavy_script.sh index 77c56652..689bffba 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -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