Small rearrangement.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6437 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2003-03-10 19:58:37 +00:00
parent 90b68775e9
commit d7d950c16f

View File

@ -94,6 +94,11 @@ if [ $# -ne 3 ]; then
exit 1 exit 1
fi 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. # Extract the params from the argument list.
DIR=`dirname $1` DIR=`dirname $1`
BASE=`basename $1 .tex` BASE=`basename $1 .tex`
@ -111,11 +116,6 @@ else
Expected either \"ppm\" or \"png\"." Expected either \"ppm\" or \"png\"."
fi 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. # Initialise some variables.
TEXFILE=${BASE}.tex TEXFILE=${BASE}.tex
LOGFILE=${BASE}.log LOGFILE=${BASE}.log