Code Review
/
fuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
da41b5a
)
Correction of biweek caching logic
73/10373/5
author
Stefan Berg
<sfb@consultron.com>
Mon, 22 Feb 2016 09:15:23 +0000
(10:15 +0100)
committer
Jonas Bjurel
<jonas.bjurel@ericsson.com>
Mon, 22 Feb 2016 11:56:17 +0000
(11:56 +0000)
Change-Id: I7c7466da3d07587da322467e294cd0a793a3fc37
Signed-off-by: Stefan Berg <sfb@consultron.com>
build/cache.sh
patch
|
blob
|
history
diff --git
a/build/cache.sh
b/build/cache.sh
index
b5f0902
..
7a2a063
100755
(executable)
--- 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