mirror of
https://github.com/elisspace/rtinst.git
synced 2026-08-30 16:12:12 +00:00
Update rtgetscripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user