commit e4baae60536bc5f5a8575a4b22287eb4c7ca15eb parent d037d98236ad24d4c4044e8023e21bb2ae7c541b Author: Christian Grothoff <grothoff@gnunet.org> Date: Tue, 10 Feb 2026 13:55:56 +0100 prevent casual edits that break versioning Diffstat:
| M | bootstrap | | | 13 | +++++++++++++ |
1 file changed, 13 insertions(+), 0 deletions(-)
diff --git a/bootstrap b/bootstrap @@ -26,6 +26,19 @@ 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 +do + chmod -w src/exchangedb/exchange-$n.sql* +done +for n in 0001 +do + chmod -w src/exchangedb/auditor-triggers-$n.sql* +done +for n in 0001 0002 +do + chmod -w src/auditordb/auditor-$n.sql* +done if existence uncrustify; then echo "Installing uncrustify hook and configuration"