From: Jay Freeman (saurik) Date: Mon, 7 Mar 2011 12:08:25 +0000 (-0800) Subject: Deterministic timestamps. X-Git-Tag: v1.1.0%b1~43 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/8fec9d25c45228642795f108ec8422cb9a36eac1 Deterministic timestamps. --- diff --git a/makefile b/makefile index 2ce69cca..10a93496 100644 --- 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 _