diff options
author | 2017-08-21 15:02:58 +0000 | |
---|---|---|
committer | 2017-08-21 15:02:58 +0000 | |
commit | 1dae96defe1040ad2f1dc3051125fcfe7e2c2b6f (patch) | |
tree | 909ae708f2eb3c394844bdf0531a056dbf5beb8c /distrib/syspatch/diff.sh | |
parent | s/xflagssock/ioctlsock/ since the socket is (going to be) used for (diff) | |
download | wireguard-openbsd-1dae96defe1040ad2f1dc3051125fcfe7e2c2b6f.tar.xz wireguard-openbsd-1dae96defe1040ad2f1dc3051125fcfe7e2c2b6f.zip |
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/diff.sh')
-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 |