summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-03-26 23:20:56 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-03-26 23:20:56 +0100
commit8c8dc548c8fd8c9e7f8e4ef10d1c00607773f751 (patch)
treef451efad6a480256a1da977ef67c201db776681f
parent53a536c68fdb05d9a687e1f590ef62731210da85 (diff)
make ./logerrit setup hooks just to be sure
Change-Id: I17adc7cecd5cf3757d92477dacff24e46e92caab
-rwxr-xr-xlogerrit3
1 files changed, 3 insertions, 0 deletions
diff --git a/logerrit b/logerrit
index 486c1b94dc5a..e09becc53c48 100755
--- a/logerrit
+++ b/logerrit
@@ -81,6 +81,7 @@ case "$1" in
exit
;;
setup)
+ cd $(dirname $(readlink -f $0))
echo "Please go to https://gerrit.libreoffice.org/ and:"
echo "- press the 'register' button in the top right corner"
echo "- after login set yourself a username (its recommended to use your IRC-nick)"
@@ -106,6 +107,8 @@ case "$1" in
echo " HostName gerrit.libreoffice.org"
echo
echo "To see if your setup was successful, run './logerrit test' then."
+ # a good place to make sure the hooks are set up
+ ./g -z
;;
test)
if test -n "`ssh $GERRITHOST 2>&1|grep \"Welcome to Gerrit Code Review\"`"