diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2017-08-21 15:02:59 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2017-08-21 15:02:59 +0000 |
commit | f44f5370f04de585a2c833aac8c4ac7dbf9e05ec (patch) | |
tree | c17c143884253ff51aa103d74632dbb4e272ad6d /distrib/syspatch | |
parent | 142bf66bc959e9c1665732545c06717369c88767 (diff) |
Add a comment about why we need to ignore the timestamps on perl man pages
(Pod::Man adds the current date to the manuals).
ok robert@
Diffstat (limited to 'distrib/syspatch')
-rwxr-xr-x | distrib/syspatch/diff.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/distrib/syspatch/diff.sh b/distrib/syspatch/diff.sh index 6b1c69264f6..ead3dc160de 100755 --- a/distrib/syspatch/diff.sh +++ b/distrib/syspatch/diff.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: diff.sh,v 1.4 2017/08/21 08:33:48 ajacoutot Exp $ +# $OpenBSD: diff.sh,v 1.5 2017/08/21 15:02:58 ajacoutot Exp $ # # Copyright (c) 2017 Robert Nagy <robert@openbsd.org> # @@ -31,6 +31,9 @@ do cmp -s ${_o} ${_n} 34 34 || echo ${_n} ;; 1|3p) + # Needed for perl(1) because Pod::Man adds the build + # date in the man page; e.g. /usr/share/man1/pod2html.1: + # .TH POD2HTML 1 "2017-07-29" "perl v5.24.1" _onm=$(mktemp) _nnm=$(mktemp) trap 'rm -f ${_onm} ${_nnm}' EXIT |