summaryrefslogtreecommitdiffstats
path: root/rfc.sh
diff options
context:
space:
mode:
authorKaleb S KEITHLEY <kkeithle@redhat.com>2016-01-14 09:57:47 -0500
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-01-14 07:02:48 -0800
commitde2c5297ad9d26c844823bcdbfc0264d8bf7ddd7 (patch)
treea4a8fd0de0eab0547f5694d6b84735438c46e11f /rfc.sh
parent856edc31417dd9459776ee68dff2d59c002eef74 (diff)
build: update link for .git/hooks/commit-msg
Add -L option to curl cmd to follow a redirect Change-Id: I273248d2a610174cc3905b0ffb8f586deb191f5f Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/13244
Diffstat (limited to 'rfc.sh')
-rwxr-xr-xrfc.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/rfc.sh b/rfc.sh
index 31fdce3f3c9..d405a67d6fc 100755
--- a/rfc.sh
+++ b/rfc.sh
@@ -22,15 +22,15 @@ branch="master";
set_hooks_commit_msg()
{
f=".git/hooks/commit-msg";
- u="http://review.gluster.com/tools/hooks/commit-msg";
+ u="http://review.gluster.org/tools/hooks/commit-msg";
if [ -x "$f" ]; then
return;
fi
- curl -o $f $u || wget -O $f $u;
+ curl -L -o $f $u || wget -O $f $u;
- chmod +x .git/hooks/commit-msg;
+ chmod +x $f
# Let the 'Change-Id: ' header get assigned on first run of rfc.sh
GIT_EDITOR=true git commit --amend;