From 82fb0d7b0d7d198d6acd0c27944ec124abcad76a Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 21 Mar 2024 14:40:38 +0100 Subject: [PATCH] luci.mk: make APK version compliant APK expects hashes to be prefixed with a ~ Signed-off-by: Paul Spooren --- luci.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \ -- 2.30.2