rexbacklight/scripts/git_commit_hash.sh
2018-12-14 18:42:59 -08:00

8 lines
154 B
Bash
Executable File

#!/bin/sh
output="$(git describe --always --dirty --abbrev --match="NeVeRmAtCh")"
if test -n output;then
echo "#define GIT_COMMIT_HASH \"$output\""
fi