diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/directory-archive/tar-them-up | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/directory-archive/tar-them-up b/contrib/directory-archive/tar-them-up index 2e0f6ec03f..2775ca9ee9 100755 --- a/contrib/directory-archive/tar-them-up +++ b/contrib/directory-archive/tar-them-up @@ -114,12 +114,14 @@ done +[ -d Archive ] || mkdir Archive + for kind in consensus status; do t="$kind"es-$year-$month.tar.bz2 - ! [ -e Archive/"$t" ] && mv "$t" Archive + ! [ -e Archive/"$t" ] && mv "$t" Archive/"$t" done for kind in extra-infos server-descriptors; do t="$kind"-$year-$month.tar.bz2 - ! [ -e Archive/"$t" ] && mv "$t" Archive + ! [ -e Archive/"$t" ] && mv "$t" Archive/"$t" done |