]>
git.ipfire.org Git - thirdparty/systemd.git/blob - tools/add-git-hook.sh
3 cd "$MESON_SOURCE_ROOT"
5 if [ ! -f .git
/hooks
/pre-commit.sample
-o -f .git
/hooks
/pre-commit
]; then
9 cp -p .git
/hooks
/pre-commit.sample .git
/hooks
/pre-commit
10 chmod +x .git
/hooks
/pre-commit
11 echo 'Activated pre-commit hook'