IDE Xcode 9.0, fix compiler errors/warnings, update iphone code, fix few ios issues
[dasher.git] / build-aux / mkversion
blobb6f8c15fc1566895acb51afabb923a8446a58f1c
1 #!/bin/sh
2 if test -f ".tarball-version"; then
3 cat .tarball-version | tr -d '\012'
4 else
5 git describe --abbrev=4 | sed 's/^DASHER_\(.*\)-\(.*\)-g\(.*\)/\1-\3/;s/_/./g' | tr -d '\012'
7 fi