]> git.saurik.com Git - cydia.git/commitdiff
Deterministic timestamps.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 12:08:25 +0000 (04:08 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 7 Mar 2011 14:10:50 +0000 (06:10 -0800)
makefile

index 2ce69cca619929255d914fccc0edd35aaea90bed..10a93496c8f7f5d0d7b31f4212c6841f81cee37c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -140,6 +140,7 @@ package: MobileCydia
        ./control.sh _ >_/DEBIAN/control
        
        find _ -name '*.png' -exec ./pngcrush.sh '{}' ';'
+       find _ -exec touch -t "$$(date -j -f "%s" +"%Y%m%d%H%M.%S" "$$(git show --format='format:%ct' | head -n 1)")" {} ';'
        
        sudo chown -R 0 _
        sudo chgrp -R 0 _