summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-08-09 20:29:53 +0200
committerAlfredo Sumaran <alfredo@gitlab.com>2016-08-13 00:57:40 -0500
commit65572b3b9658667962df27376d01d1c55d7d9270 (patch)
tree0b0ab5d9e9c286417bcd9278138be8cbab4863ba /scripts
parente6173e056756cb65c60c16b02e3a36f84222b6e3 (diff)
downloadgitlab-ce-65572b3b9658667962df27376d01d1c55d7d9270.tar.gz
Fix file downloading
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/prepare_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh
index bfca5d76391..e6a673c94e9 100755
--- a/scripts/prepare_build.sh
+++ b/scripts/prepare_build.sh
@@ -22,7 +22,7 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
pushd vendor/apt
PHANTOMJS_FILE="phantomjs-$PHANTOMJS_VERSION-linux-x86_64"
if [ ! -d "$PHANTOMJS_FILE" ]; then
- curl -q "https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOMJS_FILE.tar.bz2" | tar jx
+ curl -q -L "https://bitbucket.org/ariya/phantomjs/downloads/$PHANTOMJS_FILE.tar.bz2" | tar jx
fi
cp "$PHANTOMJS_FILE/bin/phantomjs" "/usr/bin/"
popd