summaryrefslogtreecommitdiffstats
path: root/rfc.sh
diff options
context:
space:
mode:
authorKaleb S KEITHLEY <kkeithle@redhat.com>2016-01-15 07:32:02 -0500
committerKaleb S KEITHLEY <kkeithle@redhat.com>2016-01-15 07:32:02 -0500
commitf5bfb0c25bde939dbbc585151dfc029ebc09b714 (patch)
tree3c91fff0077104fd3dd41c5a9a1e5824addbff7c /rfc.sh
parentb19a1d0798aef65c07171492f7e3faaf3af6fed3 (diff)
build: update link for .git/hooks/commit-msg
Add -L option to curl cmd to follow a redirect Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
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 bafda37d78a..6e9bacf262f 100755
--- a/rfc.sh
+++ b/rfc.sh
@@ -7,15 +7,15 @@ branch="release-3.6";
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;