From 0968c27864fcebc21cadef717946492da3c0a567 Mon Sep 17 00:00:00 2001 From: Stefan Berg Date: Mon, 22 Feb 2016 10:15:23 +0100 Subject: Correction of biweek caching logic Change-Id: I7c7466da3d07587da322467e294cd0a793a3fc37 Signed-off-by: Stefan Berg --- build/cache.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/cache.sh') diff --git a/build/cache.sh b/build/cache.sh index b5f090210..7a2a06385 100755 --- a/build/cache.sh +++ b/build/cache.sh @@ -37,7 +37,7 @@ errorexit () { # can be used when generating the SHA1 to make sure that the cache is # rebuilt bi-weekly even if no pruning of the cache is taking place. getbiweek () { - echo "$(date +'%G')$[$(date +'%V')/2]" + echo "$(date +'%G')$[10#$(date +'%V')/2]" } # Get a SHA1 based on what's piped into the cache command -- cgit 1.2.3-korg