summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-08-23 10:10:06 +1000
committerDan McGee <dan@archlinux.org>2012-09-18 08:40:17 -0500
commit7a4f76c2afd787429a4b0e5fd3b4558216f92bd4 (patch)
tree9485bd30de6ad160a6fccd92c0e8b9a14db89502 /scripts
parent2d347132ba0f92a37edad5159a36803915c1caf0 (diff)
downloadpacman-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>
Diffstat (limited to 'scripts')
-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"