From 1eac317c1f61e6849c6a3762166b73e421951657 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 9 May 2011 14:45:14 +0200 Subject: [PATCH] don't use a bogus date in 1970 for the pk3 file contents, this does help rsync, but causes a bug in 7zip --- all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2