summaryrefslogtreecommitdiff
path: root/doc/install
diff options
context:
space:
mode:
authorBen Bodenmiller <bbodenmiller@hotmail.com>2014-08-11 22:01:37 -0700
committerBen Bodenmiller <bbodenmiller@hotmail.com>2014-08-11 22:01:37 -0700
commitaabb4093b7e69cd41e50f674a971b4a113345748 (patch)
tree125068858b5660d3bf79daa2ff96b36acf32eb85 /doc/install
parent2600d08f65a8169c6f9414aca6517c828641ec23 (diff)
downloadgitlab-ce-aabb4093b7e69cd41e50f674a971b4a113345748.tar.gz
follow curl redirects
Update `curl` commands to follow redirects (see http://curl.haxx.se/docs/manpage.html#-L). Current `curl` commands will return unexpected results if the requested content has been moved and is returning information about where it has been moved to. Including the `-L` option tells `curl` to follow the redirect so the file can be correctly acquired.
Diffstat (limited to 'doc/install')
-rw-r--r--doc/install/installation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index f3d21ac4482..23c023d5f52 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -69,7 +69,7 @@ Is the system packaged Git too old? Remove it and compile from source.
# Download and compile from source
cd /tmp
- curl --progress https://www.kernel.org/pub/software/scm/git/git-2.0.0.tar.gz | tar xz
+ curl -L --progress https://www.kernel.org/pub/software/scm/git/git-2.0.0.tar.gz | tar xz
cd git-2.0.0/
make prefix=/usr/local all
@@ -95,7 +95,7 @@ Remove the old Ruby 1.8 if present
Download Ruby and compile it:
mkdir /tmp/ruby && cd /tmp/ruby
- curl --progress ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | tar xz
+ curl -L --progress ftp://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | tar xz
cd ruby-2.1.2
./configure --disable-install-rdoc
make