diff --git a/lib/scripts/lyxpreview2bitmap.sh b/lib/scripts/lyxpreview2bitmap.sh index 9744f16877..119f1df88a 100644 --- a/lib/scripts/lyxpreview2bitmap.sh +++ b/lib/scripts/lyxpreview2bitmap.sh @@ -212,7 +212,7 @@ fi if [ ${CROP} -eq 1 -a "${GSDEVICE}" = "pnmraw" ]; then for FILE in ${BASE}*.${GSSUFFIX} do - pnmcrop -left ${FILE} | pnmcrop -right ${FILE} > ${BASE}.tmp + pnmcrop -left ${FILE} | pnmcrop -right > ${BASE}.tmp if [ $? -eq 0 ]; then mv ${BASE}.tmp ${FILE} else