]> git.saurik.com Git - cydia.git/blobdiff - makefile
Deterministic timestamps.
[cydia.git] / 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 _