From 1b2c19b91b51cf24d8e9fb05d6f6ef0ada7196bb Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Wed, 21 Jun 2017 23:02:55 +0100 Subject: [PATCH] Update rtsetup --- rtsetup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtsetup b/rtsetup index c091e5b..d690e15 100755 --- a/rtsetup +++ b/rtsetup @@ -30,7 +30,7 @@ fi if [ -d /etc/rtinst ] && [ -z $branch ] || [ $(git ls-remote --tags --heads https://github.com/arakasi72/rtinst.git $branch | wc -l) -eq 0 ]; then cd /etc/rtinst - branch=$(git symbolic-ref --short HEAD 2>/dev/null) + branch=$(basename "$(git symbolic-ref HEAD 2>/dev/null)") fi if [ -z $branch ] || [ $(git ls-remote --tags --heads https://github.com/arakasi72/rtinst.git $branch | wc -l) -eq 0 ]; then