]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3825] Don't touch HTML files unless building inside a BK repo.
authorMartin Burnicki <burnicki@ntp.org>
Wed, 7 Jun 2023 16:21:52 +0000 (18:21 +0200)
committerMartin Burnicki <burnicki@ntp.org>
Wed, 7 Jun 2023 16:21:52 +0000 (18:21 +0200)
bk: 6480aea0nIUVpBjkh-mighWwI0pZxw

ChangeLog
scripts/build/checkHtmlFileDates

index 93cdab8b94eb430d9e1cf091711f64b15317250a..fa22744084aaafe701b592d99dac9c6be16be427 100644 (file)
--- 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.  <burnicki@ntp.org>
+
 ---
 (4.2.8p17) 2023/06/06 Released by Harlan Stenn <stenn@ntp.org>
 
index 9d9a2f2625d0c4c2c1507b37551e402fbe436337..db783206a28b71ad84d04c09b78d35d6692ccc18 100755 (executable)
@@ -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