From 7e06bf4fd0cef4a18c01fa90019227d381b73c45 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sun, 26 Feb 2017 23:17:12 +0000 Subject: [PATCH] Wrap shell script variables in "" --- script/install_phantomjs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/script/install_phantomjs b/script/install_phantomjs index b157bd33f..aa95ad05c 100755 --- a/script/install_phantomjs +++ b/script/install_phantomjs @@ -1,8 +1,8 @@ #!/bin/bash -if [ $(phantomjs --version) != '2.1.1' ]; then - PHANTOM_URL=https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2; - rm -rf $PWD/travis_phantomjs; - mkdir -p $PWD/travis_phantomjs; - wget $PHANTOM_URL -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; - tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; +if [ "$(phantomjs --version)" != '2.1.1' ]; then + PHANTOM_URL="https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2" + rm -rf "$PWD/travis_phantomjs" + mkdir -p "$PWD/travis_phantomjs" + wget "$PHANTOM_URL" -O "$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2" + tar -xvf "$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs" fi \ No newline at end of file