From e211623175ad0073a10daaaf813b263b2823b92f Mon Sep 17 00:00:00 2001 From: "Kim, Hirokuni" Date: Mon, 22 Feb 2016 14:49:59 +0900 Subject: [PATCH] Add exec perm to Phantomjs --- circleci-provision-scripts/phantomjs.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/circleci-provision-scripts/phantomjs.sh b/circleci-provision-scripts/phantomjs.sh index 42cebef..f96fb9f 100755 --- a/circleci-provision-scripts/phantomjs.sh +++ b/circleci-provision-scripts/phantomjs.sh @@ -3,5 +3,8 @@ function install_phantomjs() { echo '>>> Installing PhantomJS' - curl --output /usr/local/bin/phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1 + local BIN=/usr/local/bin/phantomjs + + curl --output $BIN https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1 + chmod +x $BIN }