mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Used phantomjs variable
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user