summaryrefslogtreecommitdiff
path: root/test/tiff2ps-PS1.sh
diff options
context:
space:
mode:
authorFrank Warmerdam <warmerdam@pobox.com>2009-01-23 05:37:18 +0000
committerFrank Warmerdam <warmerdam@pobox.com>2009-01-23 05:37:18 +0000
commit6b1e83821bb25eab70a9ecb1b86badb225077d5b (patch)
treec0da58cff4e56968c549d15b66e9a0d107fbfc45 /test/tiff2ps-PS1.sh
parent1c8edd0d0ad49849849aa82c4973fbbd0c0b80fe (diff)
downloadlibtiff-git-6b1e83821bb25eab70a9ecb1b86badb225077d5b.tar.gz
default srcdir to . in test scripts if not set
Diffstat (limited to 'test/tiff2ps-PS1.sh')
-rwxr-xr-xtest/tiff2ps-PS1.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tiff2ps-PS1.sh b/test/tiff2ps-PS1.sh
index 209cf730..44d0426c 100755
--- a/test/tiff2ps-PS1.sh
+++ b/test/tiff2ps-PS1.sh
@@ -2,7 +2,7 @@
#
# Basic sanity check for tiffps with PostScript Level 1 output
#
-. ${srcdir}/common.sh
+. ${srcdir:-.}/common.sh
outfile=deleteme-$$.ps
operation=tiff2ps
${TIFF2PS} -a -1 ${IMG_MINISWHITE_1C_1B} > $outfile