be explicit about hash length
different git versions have different defaults
This commit is contained in:
parent
a4d38d65a6
commit
f4649b515f
2
Makefile
2
Makefile
@ -23,7 +23,7 @@ pyenv:
|
||||
.PHONY: buildhash
|
||||
buildhash:
|
||||
oldhash=$$(test -f meta/buildhash && cat meta/buildhash || true); \
|
||||
newhash=$$(git rev-parse --short HEAD); \
|
||||
newhash=$$(git rev-parse --short=8 HEAD); \
|
||||
if [ "$$oldhash" != "$$newhash" ]; then \
|
||||
echo $$newhash > meta/buildhash; \
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user