summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgself.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgself.sh b/pkgself.sh
index eea1718..c47a713 100755
--- a/pkgself.sh
+++ b/pkgself.sh
@@ -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})"

Generated by cgit