diff options
| author | Kaleb S KEITHLEY <kkeithle@redhat.com> | 2016-01-15 07:26:15 -0500 | 
|---|---|---|
| committer | Kaleb S KEITHLEY <kkeithle@redhat.com> | 2016-01-15 07:26:50 -0500 | 
| commit | f3e03c9d47b7438a6f124e01e2f459c2b72b1c29 (patch) | |
| tree | 396d31c699ab11f04ee40ab3c0ac031d8f788166 | |
| parent | 8dcc5596c5370fcbee6ac8fc89cc90ff1d5fd29a (diff) | |
build: update link for .git/hooks/commit-msg
Add -L option to curl cmd to follow a redirect
Change-Id: Iaa026b3bc74661dbab227c4ff7166a579ae46055
Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com>
| -rwxr-xr-x | rfc.sh | 6 | 
1 files changed, 3 insertions, 3 deletions
@@ -9,15 +9,15 @@ branch="release-3.7";  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;  | 
