Revision 8032d1de version.sh

View differences:

version.sh
18 18

  
19 19
# check for git short hash
20 20
if ! test $revision; then
21
    revision=$(cd "$1" && git log -1 --pretty=format:%h 2> /dev/null)
21
    revision=$(cd "$1" && git describe --always 2> /dev/null)
22 22
    test $revision && revision=git-$revision
23 23
fi
24 24

  

Also available in: Unified diff