From 57479d52baae70c1513a3b4fe21b1aca3afbcab6 Mon Sep 17 00:00:00 2001 From: Gator96100 Date: Sun, 27 Sep 2020 00:34:08 +0200 Subject: [PATCH] Fixed ps-upgrade with commit hash --- msys2/ps/bin/ps-upgrade | 1 + 1 file changed, 1 insertion(+) diff --git a/msys2/ps/bin/ps-upgrade b/msys2/ps/bin/ps-upgrade index a86ca3fc0..1b5bd9b10 100644 --- a/msys2/ps/bin/ps-upgrade +++ b/msys2/ps/bin/ps-upgrade @@ -2,6 +2,7 @@ rm /ps/installed64.txt &> /dev/null git clone https://github.com/Gator96100/ProxSpace.git /ps-upgrade mv /ps-upgrade/msys2/ps/bin/ps-upgrade /ps-upgrade/msys2/ps/bin/ps-upgrade.new if [ "$#" -ne 0 ]; then + cd /ps-upgrade git checkout $@ fi shopt -s extglob