diff --git a/heavy_script.sh b/heavy_script.sh index c62a17fe..72cda34c 100644 --- a/heavy_script.sh +++ b/heavy_script.sh @@ -21,7 +21,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