Mercurial > hg > cc > cirrus_home
view 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 |
line wrap: on
line source
#!/usr/bin/bash G=/lustre/home/dc007/hst/gentoo if [ "${!#}" = "-" ] then cat > /tmp/xxx.pdf LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "${@:1:${#}-1}" /tmp/xxx.pdf else LD_LIBRARY_PATH=$G/usr/lib $G/usr/bin/qpdf "$@" fi