mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-26 16:58:26 -04:00
Wrap shell script variables in ""
This commit is contained in:
1 parent
dd710860de
commit
7e06bf4fd0
1 file changed
+6
-6
@@ -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
|
||||
Reference in new issue
Block a user