1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-14 03:39:09 +00:00

Merge pull request #346 from anthraxx/master

fallback for Makefile version if its not a git checkout (tarball)
This commit is contained in:
Jens Steube 2016-05-19 11:08:24 +02:00
commit ecfb708294
2 changed files with 2 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
src/Makefile export-subst

View File

@ -80,7 +80,7 @@ CC_WIN_64 := x86_64-w64-mingw32-gcc
##
COMPTIME := $(shell date +%s)
VERSION_TAG := $(shell git describe --tags --dirty=+)
VERSION_TAG := $(shell git describe --tags --dirty=+ || echo '$Format:%D$'|sed -r 's/.* ([^ ]+$)/\1/')
##
## Compiler flags