summaryrefslogtreecommitdiff
path: root/net/ntp/files/patch-scripts_build_checkHtmlFileDates
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-05-10 08:28:19 -0700
committerCy Schubert <cy@FreeBSD.org>2024-05-26 18:43:23 -0700
commita6dbff875fc327a352562c5397b1c1d8fc79822a (patch)
tree2a008b5fe0e6b5347d759c40fb58e4831a821e45 /net/ntp/files/patch-scripts_build_checkHtmlFileDates
parentwww/feroxbuster: New port: Fast, simple, recursive content discovery tool (diff)
net/ntp: Update to 4.2.8p18
MFH: 2024Q2
Diffstat (limited to 'net/ntp/files/patch-scripts_build_checkHtmlFileDates')
-rw-r--r--net/ntp/files/patch-scripts_build_checkHtmlFileDates17
1 files changed, 9 insertions, 8 deletions
diff --git a/net/ntp/files/patch-scripts_build_checkHtmlFileDates b/net/ntp/files/patch-scripts_build_checkHtmlFileDates
index cf9f4d541e8a..ae3c4e04e08e 100644
--- a/net/ntp/files/patch-scripts_build_checkHtmlFileDates
+++ b/net/ntp/files/patch-scripts_build_checkHtmlFileDates
@@ -1,14 +1,15 @@
---- scripts/build/checkHtmlFileDates.orig 2021-10-15 20:33:38.712582000 -0700
-+++ scripts/build/checkHtmlFileDates 2021-10-15 20:37:19.867441000 -0700
-@@ -1,16 +1,3 @@
- #! /bin/sh
+--- scripts/build/checkHtmlFileDates.orig 2024-05-10 08:05:57.221756000 -0700
++++ scripts/build/checkHtmlFileDates 2024-05-10 08:07:53.965997000 -0700
+@@ -18,17 +18,5 @@
--bk version > /dev/null 2>&1 || exit 0
--
--for i in `find * -type f -name '*.html' -print | grep -v SCCS/`
+ # Do nothing if the directory is not a BK repo,
+ # or if BK is not even installed.
+-bk status > /dev/null 2>&1 || exit 0
+
+-for i in `echo *.html`
-do
- # echo $i
-- set `bk diffs $i | wc -l`
+- set `bk diff --normal $i | wc -l`
- lines=$1
- case "$lines" in
- 0) ;;