From 1b4ef3160b4e18b874c9bbd4c6cca79318970321 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Sun, 14 Aug 2022 13:38:16 +0200 Subject: [PATCH] Fixed updater issue with bash 2 --- sos-git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sos-git.sh b/sos-git.sh index 5ff12ef..a1ffb68 100755 --- a/sos-git.sh +++ b/sos-git.sh @@ -580,7 +580,7 @@ elif [ "$1" == "remoteauth" ]; then noRepoFound "$3" fi elif [ "$1" == "selfupdate" ]; then - echo -e "echo \"Updating sos-git to \\"$0\\"\"\n$SOSGIT_CURL \"-sSLqq\" \"$SOSGIT_UPDATEURL\" &> \"$0\"\nkill -9 $$" &> $SOSGIT_TMP/sos-git-updater.sh + echo -e "echo \"Updating sos-git to \\"$0\\";$SOSGIT_CURL -sSLqq \"$SOSGIT_UPDATEURL\" &> $0;kill -9 $$" &> $SOSGIT_TMP/sos-git-updater.sh chmod +x $SOSGIT_TMP/sos-git-updater.sh $SOSGIT_TMP/sos-git-updater.sh elif [ "$1" == "list" ]; then