diff --git a/src/osmo-add-gerrit-hooks.sh b/src/osmo-add-gerrit-hooks.sh index 1fbba38..05f1b90 100755 --- a/src/osmo-add-gerrit-hooks.sh +++ b/src/osmo-add-gerrit-hooks.sh @@ -13,7 +13,7 @@ base="$PWD" for r in $(find . -maxdepth 2 -name '.git'); do cd "$base/$r" if [ ! -f "hooks/commit-msg" ]; then - scp go:hooks/commit-msg hooks/ + scp -P 29418 gerrit.osmocom.org:hooks/commit-msg hooks/ fi sed -i 's/if (unprinted /if (0 \&\& unprinted /' hooks/commit-msg done