view bin/qpdf @ 192:4275eb6484da

maybe triggers jdb on tests with -DdebugTest=true on command line
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 25 Sep 2024 13:51:15 +0100
parents 660dc255542a
children
line wrap: on
line source

#!/usr/bin/bash
G=/lustre/home/dc007/hst/gentoo
TF=/dev/shm/hst/xxx.pdf
if [ "${!#}" = "-" ]
then
 cat > $TF
 LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "${@:1:${#}-1}" $TF
else
 LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "$@"
fi