aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-06-13 09:47:25 +0200
committerChristian Grothoff <christian@grothoff.org>2022-06-13 09:47:25 +0200
commit007cc7abe8aa4430e78ee833ba874bb9b2f5c8a9 (patch)
treebf9baecfb291b4f66aea57025ca9f4cedd15da76
parent7876bc06004e45c470aa9bfcd4ab4e8bed6464e4 (diff)
-prevent editing of generated files
-rwxr-xr-xcontrib/gana-update.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/gana-update.sh b/contrib/gana-update.sh
index 80830eb7d..121980273 100755
--- a/contrib/gana-update.sh
+++ b/contrib/gana-update.sh
@@ -23,6 +23,7 @@ ensure ()
if ! diff $src/$fn $dst/$fn > /dev/null
then
cp $src/$fn $dst/$fn
+ chmod -w $dst/$fn
fi
}