aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbefore_script.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/before_script.sh b/before_script.sh
index e1ba15e..61c5ece 100755
--- a/before_script.sh
+++ b/before_script.sh
@@ -2,8 +2,10 @@
sudo apt-get install -y openssl build-essential xorg libssl-dev
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
+echo 'untar'
tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
+echo 'chown'
sudo chown root:root wkhtmltopdf-i386
-sudo mv wkhtmltopdf-i386 /usr/bin/wkhtmltopdf
-export WKHTMLTOPDF_CMD=/usr/bin/wkhtmltopdf
+echo 'export'
+export WKHTMLTOPDF_CMD=`pwd`/wkhtmltopdf-i386
$WKHTMLTOPDF_CMD --version