Skip to content

Commit

Permalink
luci.mk: make APK version compliant
Browse files Browse the repository at this point in the history
APK expects hashes to be prefixed with a ~

Signed-off-by: Paul Spooren <mail@aparcar.org>
  • Loading branch information
aparcar committed Mar 21, 2024
1 parent d40c45f commit 82fb0d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luci.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit 82fb0d7

Please sign in to comment.