[BACK]Return to gen-shell-scripts CVS log [TXT][DIR] Up to [local] / OpenXM / rc

File: [local] / OpenXM / rc / gen-shell-scripts (download)

Revision 1.2, Sun Jan 30 23:47:40 2000 UTC (24 years, 3 months ago) by takayama
Branch: MAIN
Changes since 1.1: +16 -4 lines

make install :  copy shell scripts asir, sm1, gp, oxmath, oxMathematica to
                /usr/local/bin (default)

#!/bin/sh
# $OpenXM: OpenXM/rc/gen-shell-scripts,v 1.2 2000/01/30 23:47:40 takayama Exp $

#asir
	rm -f asir
	echo "#!/bin/csh" >asir
	cat dot.cshrc >>asir
	echo '$OpenXM_HOME/bin/fep $OpenXM_HOME/bin/asir $*' >>asir
	chmod +x asir

#sm1
	rm -f sm1
	echo "#!/bin/csh" >sm1
	cat dot.cshrc >>sm1
	echo '$OpenXM_HOME/bin/fep $OpenXM_HOME/bin/sm1 $*' >>sm1
	chmod +x sm1

#gp
	rm -f gp
	echo "#!/bin/csh" >gp
	cat dot.cshrc >>gp
	echo '$OpenXM_HOME/bin/fep $OpenXM_HOME/bin/gp $*' >>gp
	chmod +x gp

#oxmath
	rm -f oxmath
	echo "#!/bin/csh" >oxmath
	cat dot.cshrc >>oxmath
	echo '$OpenXM_HOME/bin/fep math $*' >>oxmath
	chmod +x oxmath

#oxMathematica
	rm -f oxMathematica
	echo "#!/bin/csh" >oxMathematica
	cat dot.cshrc >>oxMathematica
	echo 'Mathematica  $*' >>oxMathematica
	chmod +x oxMathematica