aboutsummaryrefslogtreecommitdiffstats
path: root/before_script.sh
diff options
context:
space:
mode:
authormattack108 <matt.lenc@gmail.com>2013-09-20 11:39:46 +0100
committermattack108 <matt.lenc@gmail.com>2013-09-20 11:39:46 +0100
commit45eab831e2ad1f3f73560527ed5f618bfb62177f (patch)
treeff58a6f035e3412f81a7fb98cfb159cd9d5bf14a /before_script.sh
parent9c5d3def72cafdcfd85784c53836421943e83277 (diff)
downloaddjango-wkhtmltopdf-45eab831e2ad1f3f73560527ed5f618bfb62177f.tar.gz
django-wkhtmltopdf-45eab831e2ad1f3f73560527ed5f618bfb62177f.tar.bz2
django-wkhtmltopdf-45eab831e2ad1f3f73560527ed5f618bfb62177f.zip
Fix tests for Travis by obtaining the WKHTMLTOPDF_CMD from env vars.
Diffstat (limited to 'before_script.sh')
-rwxr-xr-xbefore_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/before_script.sh b/before_script.sh
index ed0b6b4..ca9ae03 100755
--- a/before_script.sh
+++ b/before_script.sh
@@ -5,4 +5,4 @@ wget http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.11.0_rc1-static-i386.
tar xvjf wkhtmltopdf-0.11.0_rc1-static-i386.tar.bz2
sudo chown root:root wkhtmltopdf-i386
sudo mv wkhtmltopdf-i386 /usr/bin/wkhtmltopdf
-export WKHTMLTOPDF=/usr/bin/wkhtmltopdf
+export WKHTMLTOPDF_CMD=/usr/bin/wkhtmltopdf