diff options
| -rwxr-xr-x | git-version-gen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-version-gen b/git-version-gen index 6feac34..b403fce 100755 --- a/git-version-gen +++ b/git-version-gen | |||
| @@ -5,7 +5,7 @@ if test -n "$1"; then | |||
| 5 | else | 5 | else |
| 6 | if test -d "${SRCDIR}/.git" && test -x "`which git`" ; then | 6 | if test -d "${SRCDIR}/.git" && test -x "`which git`" ; then |
| 7 | git update-index -q --refresh | 7 | git update-index -q --refresh |
| 8 | VER=`git describe --tags --always --dirty=-dirty` | 8 | VER=`git describe --tags --dirty=-dirty` |
| 9 | else | 9 | else |
| 10 | if test -f "${SRCDIR}/.tarball-version"; then | 10 | if test -f "${SRCDIR}/.tarball-version"; then |
| 11 | VER=`cat "${SRCDIR}/.tarball-version"` | 11 | VER=`cat "${SRCDIR}/.tarball-version"` |
