Mercurial > hg > cc > cirrus_home
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/qpdf Wed Jun 16 16:12:16 2021 +0000 @@ -0,0 +1,10 @@ +#!/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 +