From: Rudolf Polzer Date: Mon, 9 May 2011 12:45:14 +0000 (+0200) Subject: don't use a bogus date in 1970 for the pk3 file contents, this does help rsync, but... X-Git-Tag: xonotic-v0.5.0~97 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1eac317c1f61e6849c6a3762166b73e421951657;p=xonotic%2Fxonotic.git don't use a bogus date in 1970 for the pk3 file contents, this does help rsync, but causes a bug in 7zip --- diff --git a/all b/all index 06101152..1b80d945 100755 --- a/all +++ b/all @@ -358,7 +358,7 @@ fix_git_config() mkzipr() { archive=$1; shift - find "$@" -exec touch -d "1970-01-01 00:00:00 +0000" {} \+ # ugly hack to make the pk3 files rsync-friendly + find "$@" -exec touch -d "2001-01-01 01:01:01 +0000" {} \+ # ugly hack to make the pk3 files rsync-friendly ziplist=`mktemp` find "$@" -xtype f \( -executable -or -type l \) -print > "$ziplist" 7za a -tzip -mx=9 -x@"$ziplist" "$archive" "$@" || true