commit 9943a677ce9e60dfc49e419f8b6033a24a9b7f1d parent 52c3a9e8a85f0e6f5aeaed47004327241a1379d5 Author: Christian Grothoff <grothoff@gnunet.org> Date: Tue, 10 Feb 2026 13:58:10 +0100 prevent casual edits that break versioning Diffstat:
| M | bootstrap | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/bootstrap b/bootstrap @@ -31,6 +31,11 @@ existence() command -v "$1" >/dev/null 2>&1 } +# Freeze SQL files that must no longer be edited. +for n in 0001 0002 0003 0004 0005 0006 0007 0008 0009 0010 0011 0012 0013 0014 0015 0016 0017 0018 0019 0020 0021 0022 0023 0024 0025 0026 0027 0028 0029 0030 +do + chmod -w src/backenddb/merchant-$n.sql* +done if existence uncrustify; then echo "Installing uncrustify hook and configuration"