mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
fix build from tarball
This commit is contained in:
parent
bce24586ea
commit
97e3602c14
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -26,7 +26,7 @@ pyenv:
|
|||
.PHONY: buildhash
|
||||
buildhash:
|
||||
oldhash=$$(test -f meta/buildhash && cat meta/buildhash || true); \
|
||||
newhash=$$(git rev-parse --short=8 HEAD); \
|
||||
newhash=$$(git rev-parse --short=8 HEAD || echo dev); \
|
||||
if [ "$$oldhash" != "$$newhash" ]; then \
|
||||
echo $$newhash > meta/buildhash; \
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue