From f4868701375e2b25d378557ed4f534eb8ec029f1 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 22 Jun 2021 00:35:42 +0200 Subject: [PATCH] src/osmo-add-gerrit-hooks.sh: maxdepth 2 --- src/osmo-add-gerrit-hooks.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osmo-add-gerrit-hooks.sh b/src/osmo-add-gerrit-hooks.sh index b03c88c..1fbba38 100755 --- a/src/osmo-add-gerrit-hooks.sh +++ b/src/osmo-add-gerrit-hooks.sh @@ -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/