summaryrefslogtreecommitdiff
path: root/scripts/prepare_build.sh
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-08-15 11:43:23 +0100
committerPhil Hughes <me@iamphill.com>2016-08-15 11:43:23 +0100
commit501a7e89978a03e7e10f497c5ad0d4f87319dbe5 (patch)
tree95e8a1abacdccf2f6227cb332fcf586a271049ee /scripts/prepare_build.sh
parent2cf3c1c31a80d2827c179535362de111ffa72404 (diff)
downloadgitlab-ce-501a7e89978a03e7e10f497c5ad0d4f87319dbe5.tar.gz
Used phantomjs variablenew-phantomjs-version
Diffstat (limited to 'scripts/prepare_build.sh')
-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 388c1a4dafb..76b2178c79c 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 -L "https://s3.amazonaws.com/gitlab-build-helpers/phantomjs-2.1.1-linux-x86_64.tar.bz2" | tar jx
+ curl -q -L "https://s3.amazonaws.com/gitlab-build-helpers/$PHANTOMJS_FILE.tar.bz2" | tar jx
fi
cp "$PHANTOMJS_FILE/bin/phantomjs" "/usr/bin/"
popd