From 011d022226f3b0a7378a96d03ad509ef89a3c43e Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Fri, 23 Jun 2017 13:57:51 +0100 Subject: [PATCH] Update rtsetup --- rtsetup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtsetup b/rtsetup index db1c796..f3671e3 100755 --- a/rtsetup +++ b/rtsetup @@ -31,6 +31,9 @@ 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=$(basename "$(git symbolic-ref -q HEAD)") + if [ -z $branch ]; then + branch=$(git describe --tags --exact-match) + fi fi if [ -z $branch ] || [ $(git ls-remote --tags --heads https://github.com/arakasi72/rtinst.git $branch | wc -l) -eq 0 ]; then