From f44b0b04402886d8a69100fb0c1fab5e8b243579 Mon Sep 17 00:00:00 2001 From: Kaleb S KEITHLEY Date: Fri, 15 Jan 2016 07:35:41 -0500 Subject: build: update link for .git/hooks/commit-msg Add -L option to curl cmd to follow a redirect Signed-off-by: Kaleb S KEITHLEY --- rfc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rfc.sh b/rfc.sh index 57644126db1..5feffd2c1ef 100755 --- a/rfc.sh +++ b/rfc.sh @@ -7,15 +7,15 @@ branch="release-3.5"; 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; -- cgit