From: Martin Burnicki Date: Wed, 7 Jun 2023 16:21:52 +0000 (+0200) Subject: [Bug 3825] Don't touch HTML files unless building inside a BK repo. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f320faaf2fbaec9d96704a0dfdc2687934c6d77;p=thirdparty%2Fntp.git [Bug 3825] Don't touch HTML files unless building inside a BK repo. bk: 6480aea0nIUVpBjkh-mighWwI0pZxw --- diff --git a/ChangeLog b/ChangeLog index 93cdab8b9..fa2274408 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +* [Bug 3825] Don't touch HTML files unless building inside a BK repo. + Fix the script checkHtmlFileDates. + --- (4.2.8p17) 2023/06/06 Released by Harlan Stenn diff --git a/scripts/build/checkHtmlFileDates b/scripts/build/checkHtmlFileDates index 9d9a2f262..db783206a 100755 --- a/scripts/build/checkHtmlFileDates +++ b/scripts/build/checkHtmlFileDates @@ -1,6 +1,8 @@ #! /bin/sh -bk version > /dev/null 2>&1 || exit 0 +# 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 `find * -type f -name '*.html' -print | grep -v SCCS/` do