From: Paul Spooren Date: Thu, 21 Mar 2024 13:40:38 +0000 (+0100) Subject: luci.mk: make APK version compliant X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=82fb0d7b0d7d198d6acd0c27944ec124abcad76a;p=project%2Fluci.git luci.mk: make APK version compliant APK expects hashes to be prefixed with a ~ Signed-off-by: Paul Spooren --- diff --git a/luci.mk b/luci.mk index f348721fff..12cdd6de90 100644 --- a/luci.mk +++ b/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; \