]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3198] ignore errors when regenerating hashes
authorAndrei Pavel <andrei@isc.org>
Wed, 10 Jan 2024 09:46:00 +0000 (11:46 +0200)
committerAndrei Pavel <andrei@isc.org>
Fri, 26 Jan 2024 10:48:18 +0000 (12:48 +0200)
The script complains about hashes missing, but that is only temporary until they
are regenerated. A second call to check-hashes.sh will now properly check them
at the end.

src/share/yang/modules/utils/bump-up-revisions.sh

index 3500155a7a96e82f978c97e7893e275d9725a237..ed0d3e2d2776f2bab8c3ad24a295cb7ad9c6ef0f 100755 (executable)
@@ -72,4 +72,7 @@ done
 
 # Regenerate hashes.
 rm hashes/*
-./utils/check-hashes.sh -a
+./utils/check-hashes.sh -a 2> /dev/null || true
+
+# Check hashes were regenerated succesfully.
+./utils/check-hashes.sh