src/osmo-add-gerrit-hooks.sh: maxdepth 2

This commit is contained in:
Neels Hofmeyr 2021-06-22 00:35:42 +02:00
parent fc7b8edaab
commit f486870137
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
set -x
base="$PWD"
for r in $(find . -name '.git'); do
for r in $(find . -maxdepth 2 -name '.git'); do
cd "$base/$r"
if [ ! -f "hooks/commit-msg" ]; then
scp go:hooks/commit-msg hooks/