From 3c8bebdc83e54d431aee69fc808ffef7d2c2f66d Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Fri, 23 Jun 2017 17:01:07 +0100 Subject: [PATCH] Update rtgetscripts --- scripts/rtgetscripts | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/rtgetscripts b/scripts/rtgetscripts index 77f617f..850810a 100755 --- a/scripts/rtgetscripts +++ b/scripts/rtgetscripts @@ -23,6 +23,7 @@ cd /etc/rtinst branch=$(basename "$(git symbolic-ref -q HEAD)") +# if branch is empty then it is a tag if [ -z $branch ]; then branch=$(git describe --tags --exact-match) if [ ${branch:0:1} = v ]; then