fix build from tarball

This commit is contained in:
Damien Elmes 2020-02-03 08:43:17 +10:00
parent bce24586ea
commit 97e3602c14

View file

@ -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