aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbefore_script.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/before_script.sh b/before_script.sh
index 2197417..fbc1bc9 100755
--- a/before_script.sh
+++ b/before_script.sh
@@ -4,5 +4,6 @@ sudo apt-get install -y openssl build-essential xorg libssl-dev
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2
tar xvjf wkhtmltopdf-0.11.0_rc1-static-amd64.tar.bz2
sudo chown root:root wkhtmltopdf-amd64
-export WKHTMLTOPDF_CMD=`pwd`/wkhtmltopdf-amd64
+sudo ln -s wkhtmltopdf-amd64 /usr/bin/wkhtmltopdf
+export WKHTMLTOPDF_CMD=/usr/bin/wkhtmltopdf
$WKHTMLTOPDF_CMD --version