diff options
author | Aaron Ball <nullspoon@oper.io> | 2018-02-26 00:05:30 -0700 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2018-02-26 00:05:30 -0700 |
commit | e2d16d96663de4b22a61da8ad3e70ee540d4fc57 (patch) | |
tree | b8c28b6ae335ca971317c3330f61ab52c9903356 | |
parent | e68299b04fd7185ce5f0cdf65ee5272869d4d115 (diff) | |
parent | 2467b9d81f42198c475450bc5a4db9501f8b2847 (diff) | |
download | pkgself-e2d16d96663de4b22a61da8ad3e70ee540d4fc57.tar.gz pkgself-e2d16d96663de4b22a61da8ad3e70ee540d4fc57.tar.xz |
Merge branch 'tar-timestamp-fix'
-rwxr-xr-x | pkgself.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -131,7 +131,7 @@ main() { printf "Reticulating splines...\n" # Package up the libinstall libraries - tar -C "${tmp}" -c libinstall \ + tar -C "${tmp}" -c --mtime='1970-01-01' libinstall \ | ${COMPRESS} > ${tmp}/libinstall.tar.${COMPRESSEXT} libinstallsize=$(wc -c < ${tmp}/libinstall.tar.${COMPRESSEXT}) @@ -140,7 +140,7 @@ main() { runsize="$(wc -c < ${tmp}/run.sh.${COMPRESSEXT})" # Compress and calculate byte size for payload - tar -c "$(basename ${PKG})" \ + tar -c --mtime='1970-01-01' "$(basename ${PKG})" \ | ${COMPRESS} -v > ${PKG}.tar.${COMPRESSEXT} payloadsize="$(wc -c < ${PKG}.tar.${COMPRESSEXT})" |