]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
don't use a bogus date in 1970 for the pk3 file contents, this does help rsync, but...
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 9 May 2011 12:45:14 +0000 (14:45 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 9 May 2011 12:45:14 +0000 (14:45 +0200)
all

diff --git a/all b/all
index 06101152eda1e38c3aa8f0a81b6a294f1735774b..1b80d9453c0ed2be4ecdaa05b6bc25f1ae53ea64 100755 (executable)
--- a/all
+++ b/all
@@ -358,7 +358,7 @@ fix_git_config()
 mkzipr()
 {
        archive=$1; shift
 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
        ziplist=`mktemp`
        find "$@" -xtype f \( -executable -or -type l \) -print > "$ziplist"
        7za a -tzip -mx=9 -x@"$ziplist" "$archive" "$@" || true