summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-08-23 02:10:06 +0200
committerDan McGee <dan@archlinux.org>2012-09-18 15:40:17 +0200
commit7a4f76c2afd787429a4b0e5fd3b4558216f92bd4 (patch)
tree9485bd30de6ad160a6fccd92c0e8b9a14db89502
parent2d347132ba0f92a37edad5159a36803915c1caf0 (diff)
downloadpacman-7a4f76c2afd787429a4b0e5fd3b4558216f92bd4.tar.gz
pacman-7a4f76c2afd787429a4b0e5fd3b4558216f92bd4.tar.xz
makepkg: do not embed timestamps in compressed manpages
This will make the checksum of man pages match across architectures despite different build times. Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 8ba4ff7b..cad1f5ee 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1390,7 +1390,7 @@ tidy_install() {
done
if [[ -z ${files[$inode]} ]]; then
files[$inode]=$file
- gzip -9 -f "$file"
+ gzip -9 -n -f "$file"
else
rm -f "$file"
ln "${files[$inode]}.gz" "${file}.gz"