fixeria has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-dev/+/27831 )

Change subject: osmo-add-gerrit-hooks.sh: do not use ssh host alias 'go'
......................................................................

osmo-add-gerrit-hooks.sh: do not use ssh host alias 'go'

... because it may not be defined.  Specify the address explicitly.

Change-Id: I55c1501de61fe6b63be12b8e138742bd4b8baf64
---
M src/osmo-add-gerrit-hooks.sh
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  fixeria: Looks good to me, approved; Verified



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 @@
 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

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-dev/+/27831
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-dev
Gerrit-Branch: master
Gerrit-Change-Id: I55c1501de61fe6b63be12b8e138742bd4b8baf64
Gerrit-Change-Number: 27831
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to