From de2c5297ad9d26c844823bcdbfc0264d8bf7ddd7 Mon Sep 17 00:00:00 2001 From: Kaleb S KEITHLEY Date: Thu, 14 Jan 2016 09:57:47 -0500 Subject: 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 Reviewed-on: http://review.gluster.org/13244 --- rfc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rfc.sh') 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; -- cgit