From d7d950c16fd830e6528a7f221530cb7358ed0911 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Mon, 10 Mar 2003 19:58:37 +0000 Subject: [PATCH] Small rearrangement. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6437 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/scripts/lyxpreview2bitmap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/scripts/lyxpreview2bitmap.sh b/lib/scripts/lyxpreview2bitmap.sh index dfcd7e9991..3efc75408c 100644 --- a/lib/scripts/lyxpreview2bitmap.sh +++ b/lib/scripts/lyxpreview2bitmap.sh @@ -94,6 +94,11 @@ if [ $# -ne 3 ]; then exit 1 fi +# We use latex, dvips and gs, so check that they're all there. +FIND_IT ${LATEX} +FIND_IT ${DVIPS} +FIND_IT ${GS} + # Extract the params from the argument list. DIR=`dirname $1` BASE=`basename $1 .tex` @@ -111,11 +116,6 @@ else Expected either \"ppm\" or \"png\"." fi -# We use latex, dvips and gs, so check that they're all there. -FIND_IT ${LATEX} -FIND_IT ${DVIPS} -FIND_IT ${GS} - # Initialise some variables. TEXFILE=${BASE}.tex LOGFILE=${BASE}.log -- 2.39.5