Fixed updater issue with bash 2
This commit is contained in:
parent
24a6e63594
commit
1b4ef3160b
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ elif [ "$1" == "remoteauth" ]; then
|
||||||
noRepoFound "$3"
|
noRepoFound "$3"
|
||||||
fi
|
fi
|
||||||
elif [ "$1" == "selfupdate" ]; then
|
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
|
chmod +x $SOSGIT_TMP/sos-git-updater.sh
|
||||||
$SOSGIT_TMP/sos-git-updater.sh
|
$SOSGIT_TMP/sos-git-updater.sh
|
||||||
elif [ "$1" == "list" ]; then
|
elif [ "$1" == "list" ]; then
|
||||||
|
|
Reference in a new issue