[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.13, Mon Jun 21 06:06:15 2004 UTC (19 years, 10 months ago) by takayama
Branch: MAIN
CVS Tags: RELEASE_1_2_3_12, RELEASE_1_2_3, KNOPPIX_2006, DEB_REL_1_2_3-9
Changes since 1.12: +2 -2 lines

Fixed bugs:
 gen-shell-scripts outputs buggy openxm shell script.
 OpenXM/rc was not installed, and then ASIRCONFIG file was not installed.

#!/bin/sh
# $OpenXM: OpenXM/rc/gen-shell-scripts,v 1.13 2004/06/21 06:06:15 takayama Exp $

# openxm
	rm -f openxm
	echo "#!/bin/sh" >openxm
	cat dot.bashrc >>openxm
	echo 'exec $*' >>openxm
	chmod +x openxm

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

#webasir
	rm -f webasir
	echo "#!/bin/sh" >webasir
	cat dot.bashrc >>webasir
	echo 'exec $OpenXM_HOME/bin/sm1 -s "[(parse) (httpd-asir.sm1) pushfile] extension ; asirweb " ' >>webasir
	chmod +x webasir

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

#gp
#	rm -f oxgp
#	echo "#!/bin/sh" >oxgp
#	cat dot.bashrc >>oxgp
#	echo 'exec $OpenXM_HOME/bin/gp $*' >>oxgp
#	chmod +x oxgp

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

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

#ox  (launcher of kxx)
	rm -f ox
	echo "#!/bin/sh" >ox
	cat dot.bashrc >>ox
	echo 'exec $OpenXM_HOME/bin/ox $*' >>ox
	chmod +x ox