chiark
/
gitweb
/
~mdw
/
ca
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
81f38a4
)
bin/rollup: Fix offset-by-one year bug.
master
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 16 May 2024 23:02:39 +0000
(
00:02
+0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 16 May 2024 23:02:39 +0000
(
00:02
+0100)
bin/rollup
patch
|
blob
|
blame
|
history
diff --git
a/bin/rollup
b/bin/rollup
index 4955761299a95bca3f77c229be7a59425247ec4f..f620bcd76095bceb93b913f41dd834f9ee230b28 100755
(executable)
--- a/
bin/rollup
+++ b/
bin/rollup
@@
-5,8
+5,8
@@
last=nil
flush () {
case $last in nil) return ;; esac
- (cd tmp/rollup/all && tar cfz - .) >tmp/rollup/$
year
-all.tgz
- mv tmp/rollup/$
year
-all.tgz archive/
+ (cd tmp/rollup/all && tar cfz - .) >tmp/rollup/$
last
-all.tgz
+ mv tmp/rollup/$
last
-all.tgz archive/
rm -f archive/$last-??-??T??:??:??Z.tgz
rm -rf tmp/rollup/all
}