diff options
author | Kaleb S KEITHLEY <kkeithle@redhat.com> | 2016-01-15 07:35:41 -0500 |
---|---|---|
committer | Kaleb S KEITHLEY <kkeithle@redhat.com> | 2016-01-15 07:35:41 -0500 |
commit | f44b0b04402886d8a69100fb0c1fab5e8b243579 (patch) | |
tree | 46badf8c57b6b640a6edddf7bb755960f53843ce /rfc.sh | |
parent | 3efd1b8997084562fa4f20015949eed1de085f91 (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-x | rfc.sh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |