From 522a92b60815c0c2f35bc3df58013bab655c94e0 Mon Sep 17 00:00:00 2001 From: Simon Let Date: Wed, 18 Dec 2019 18:45:53 +0100 Subject: [PATCH] minor changes --- scripts/rawinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rawinstall.sh b/scripts/rawinstall.sh index 55ad970..e4ad00c 100755 --- a/scripts/rawinstall.sh +++ b/scripts/rawinstall.sh @@ -11,7 +11,7 @@ if [ "$1" = "--test" ] || [ "$1" = "-t" ]; then # debug # latest release OR pre-release json=$(curl --silent "https://api.github.com/repos/curusarn/resh/releases") - tag=$(echo "$json" | grep '"tag_name":' | cut -d':' -f2 | tr -d ',' | cut -d'"' -f2 | sort --version-sort --reverse | head -n 1) + tag=$(echo "$json" | grep '"tag_name":' | cut -d':' -f2 | tr -d ',' | cut -d'"' -f2 | head -n 1) else echo "Looking for the latest release ..." # latest release