comparison bin/qpdf @ 118:551ff1de13d8

qpdf needs LD_LIB_PATH
author Henry S. Thompson <ht@inf.ed.ac.uk>
date Wed, 16 Jun 2021 16:12:16 +0000
parents
children 660dc255542a
comparison
equal deleted inserted replaced
117:63898fde9751 118:551ff1de13d8
1 #!/usr/bin/bash
2 G=/lustre/home/dc007/hst/gentoo
3 if [ "${!#}" = "-" ]
4 then
5 cat > /tmp/xxx.pdf
6 LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "${@:1:${#}-1}" /tmp/xxx.pdf
7 else
8 LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "$@"
9 fi
10