mirror of https://gerrit.osmocom.org/osmo-dev
src/osmo-add-gerrit-hooks.sh: maxdepth 2
This commit is contained in:
parent
fc7b8edaab
commit
f486870137
|
@ -10,7 +10,7 @@
|
||||||
set -x
|
set -x
|
||||||
base="$PWD"
|
base="$PWD"
|
||||||
|
|
||||||
for r in $(find . -name '.git'); do
|
for r in $(find . -maxdepth 2 -name '.git'); do
|
||||||
cd "$base/$r"
|
cd "$base/$r"
|
||||||
if [ ! -f "hooks/commit-msg" ]; then
|
if [ ! -f "hooks/commit-msg" ]; then
|
||||||
scp go:hooks/commit-msg hooks/
|
scp go:hooks/commit-msg hooks/
|
||||||
|
|
Loading…
Reference in New Issue