diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-26 14:46:43 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2020-07-26 14:47:12 -0700 |
commit | d0afd3f99658e23c17b4cf371558cd6f5ddb9cf4 (patch) | |
tree | c5e47afe1ec8860cbe09be79e490014862054c61 /test/test | |
parent | 93ef0cf08b6c2af725f52424540e5bea28de8c7b (diff) | |
download | pandoc-citeproc-preamble-d0afd3f99658e23c17b4cf371558cd6f5ddb9cf4.tar.gz |
Fix test/test to use /usr/bin/pandoc-citeproc-preamble
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'test/test')
-rwxr-xr-x | test/test | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -26,7 +26,9 @@ use File::Basename qw(dirname); use File::Spec::Functions qw(rel2abs); our $output = "output.tex"; -our $pcp = "../dist/build/pandoc-citeproc-preamble/pandoc-citeproc-preamble"; +our $pcp = $ENV{AUTOPKGTEST_TMP} + ? "/usr/bin/pandoc-citeproc-preamble" + : "../dist/build/pandoc-citeproc-preamble/pandoc-citeproc-preamble"; chdir(dirname(rel2abs(__FILE__))); die "need to build before testing\n" unless -e $pcp; |