fix build from tarball

This commit is contained in:
Damien Elmes 2020-02-03 08:43:17 +10:00
parent 05e447c8df
commit b758520d57

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