aboutsummaryrefslogtreecommitdiffstats
path: root/before_script.sh
diff options
context:
space:
mode:
authormattack108 <matt.lenc@gmail.com>2013-09-20 12:07:34 +0100
committermattack108 <matt.lenc@gmail.com>2013-09-20 12:07:34 +0100
commit5836178b1505835a11fa50042a1491ddad8a8187 (patch)
treea24c6c894d92045fd2b441ffd3f151a3347ba09d /before_script.sh
parent169420ceeab025691f67458bc58c7e24d0476756 (diff)
downloaddjango-wkhtmltopdf-5836178b1505835a11fa50042a1491ddad8a8187.tar.gz
django-wkhtmltopdf-5836178b1505835a11fa50042a1491ddad8a8187.tar.bz2
django-wkhtmltopdf-5836178b1505835a11fa50042a1491ddad8a8187.zip
Moar debugz
Diffstat (limited to 'before_script.sh')
-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