luci.mk: make APK version compliant

APK expects hashes to be prefixed with a ~

Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
Paul Spooren 2024-03-21 14:40:38 +01:00
parent d40c45fe06
commit 82fb0d7b0d

View File

@ -85,7 +85,7 @@ define findrev
if [ -n "$$1" ]; then
secs="$$(($$1 % 86400))"; \
yday="$$(date --utc --date="@$$1" "+%y.%j")"; \
printf 'git-%s.%05d-%s' "$$yday" "$$secs" "$$2"; \
printf 'git-%s.%05d~%s' "$$yday" "$$secs" "$$2"; \
else \
echo "unknown"; \
fi; \