[system] / trunk / webwork / system / scripts / makePS Repository:
ViewVC logotype

Diff of /trunk/webwork/system/scripts/makePS

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 5 Revision 6
1#!/bin/sh 1#!/bin/sh
2## $Id: makePS,v 1.1.1.1 2001-06-14 17:08:16 sam Exp $ 2## $Id: makePS,v 1.2 2001-06-15 14:29:57 gage Exp $
3 3
4PATH=$PATH:/usr/bin 4PATH=$PATH:/usr/local/bin
5export PATH
5 6
6umask 022 7umask 022
7cd $1 8cd $1
8if 9if
9 /usr/bin/latex $2.tex >/dev/null 2>/dev/null; 10 /usr/local/bin/latex $2.tex >/dev/null 2>/dev/null;
10then 11then
11 /usr/bin/dvips -o $2.ps $2.dvi 2>/dev/null 12 /usr/local/bin/dvips -o $2.ps $2.dvi 2>/dev/null
12 exit 0 13 exit 0
13else 14else
14 exit 1 15 exit 1
15fi 16fi
16 17

Legend:
Removed from v.5  
changed lines
  Added in v.6

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9