Stupid piping error :-(

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5564 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-10-31 13:51:29 +00:00
parent eb5b07f615
commit bd54683932

View File

@ -212,7 +212,7 @@ fi
if [ ${CROP} -eq 1 -a "${GSDEVICE}" = "pnmraw" ]; then if [ ${CROP} -eq 1 -a "${GSDEVICE}" = "pnmraw" ]; then
for FILE in ${BASE}*.${GSSUFFIX} for FILE in ${BASE}*.${GSSUFFIX}
do do
pnmcrop -left ${FILE} | pnmcrop -right ${FILE} > ${BASE}.tmp pnmcrop -left ${FILE} | pnmcrop -right > ${BASE}.tmp
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
mv ${BASE}.tmp ${FILE} mv ${BASE}.tmp ${FILE}
else else