mirror of https://gerrit.osmocom.org/osmo-dev
osmo-add-gerrit-hooks.sh: do not use ssh host alias 'go'
... because it may not be defined. Specify the address explicitly. Change-Id: I55c1501de61fe6b63be12b8e138742bd4b8baf64changes/31/27831/1
parent
028e33741c
commit
2fef4e56e4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue