Fix dangling DFHack "Git:" version text
This commit is contained in:
parent
fe847fcc92
commit
870f05c975
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ let
|
|||
#! ${stdenv.shell}
|
||||
if [ "$*" = "describe --tags --long" ]; then
|
||||
echo "${version}-unknown"
|
||||
elif [ "$*" = "describe --tags --abbrev=8 --long" ]; then
|
||||
echo "${version}-unknown"
|
||||
elif [ "$*" = "describe --tags --abbrev=8 --exact-match" ]; then
|
||||
echo "${version}"
|
||||
elif [ "$*" = "rev-parse HEAD" ]; then
|
||||
if [ "$(dirname "$(pwd)")" = "xml" ]; then
|
||||
echo "${xmlRev}"
|
||||
|
|
Loading…
Reference in a new issue