Skip to content

Commit d87a3e0

Browse files
committed
[#3198] ignore errors when regenerating hashes
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.
1 parent 2f0dd25 commit d87a3e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,7 @@ done
7272

7373
# Regenerate hashes.
7474
rm hashes/*
75-
./utils/check-hashes.sh -a
75+
./utils/check-hashes.sh -a 2> /dev/null || true
76+
77+
# Check hashes were regenerated succesfully.
78+
./utils/check-hashes.sh

0 commit comments

Comments
 (0)