Browse Source

luci.mk: make APK version compliant

APK expects hashes to be prefixed with a ~

Signed-off-by: Paul Spooren <mail@aparcar.org>
Paul Spooren 1 month ago
parent
commit
82fb0d7b0d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      luci.mk

+ 1 - 1
luci.mk

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