| version 1.2, 2000/01/30 23:47:40 |
version 1.14, 2010/02/06 00:38:12 |
|
|
| #!/bin/sh |
#!/bin/sh |
| # $OpenXM: OpenXM/rc/gen-shell-scripts,v 1.1 2000/01/30 10:40:43 takayama Exp $ |
# $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 |
| |
cat inst-feprc.sh >>openxm |
| |
echo 'exec $*' >>openxm |
| |
chmod +x openxm |
| |
|
| #asir |
#asir |
| rm -f asir |
rm -f asir |
| echo "#!/bin/csh" >asir |
echo "#!/bin/sh" >asir |
| cat dot.cshrc >>asir |
cat dot.bashrc >>asir |
| echo '$OpenXM_HOME/bin/fep $OpenXM_HOME/bin/asir $*' >>asir |
# echo 'exec $OpenXM_HOME/bin/fep $OpenXM_HOME/bin/asir $*' >>asir |
| |
echo 'exec $OpenXM_HOME/bin/asir $*' >>asir |
| chmod +x 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 |
#sm1 |
| rm -f sm1 |
rm -f sm1 |
| echo "#!/bin/csh" >sm1 |
echo "#!/bin/sh" >sm1 |
| cat dot.cshrc >>sm1 |
cat dot.bashrc >>sm1 |
| echo '$OpenXM_HOME/bin/fep $OpenXM_HOME/bin/sm1 $*' >>sm1 |
# echo 'exec $OpenXM_HOME/bin/fep $OpenXM_HOME/bin/sm1 $*' >>sm1 |
| |
echo 'exec $OpenXM_HOME/bin/sm1 $*' >>sm1 |
| chmod +x sm1 |
chmod +x sm1 |
| |
|
| #gp |
#gp |
| rm -f gp |
# rm -f oxgp |
| echo "#!/bin/csh" >gp |
# echo "#!/bin/sh" >oxgp |
| cat dot.cshrc >>gp |
# cat dot.bashrc >>oxgp |
| echo '$OpenXM_HOME/bin/fep $OpenXM_HOME/bin/gp $*' >>gp |
# echo 'exec $OpenXM_HOME/bin/gp $*' >>oxgp |
| chmod +x gp |
# chmod +x oxgp |
| |
|
| #oxmath |
#oxmath |
| rm -f oxmath |
rm -f oxmath |
| echo "#!/bin/csh" >oxmath |
echo "#!/bin/sh" >oxmath |
| cat dot.cshrc >>oxmath |
cat dot.bashrc >>oxmath |
| echo '$OpenXM_HOME/bin/fep math $*' >>oxmath |
# echo 'exec $OpenXM_HOME/bin/fep math $*' >>oxmath |
| |
echo 'exec math $*' >>oxmath |
| chmod +x oxmath |
chmod +x oxmath |
| |
|
| #oxMathematica |
#oxMathematica |
| rm -f oxMathematica |
rm -f oxMathematica |
| echo "#!/bin/csh" >oxMathematica |
echo "#!/bin/sh" >oxMathematica |
| cat dot.cshrc >>oxMathematica |
cat dot.bashrc >>oxMathematica |
| echo 'Mathematica $*' >>oxMathematica |
echo 'exec Mathematica $*' >>oxMathematica |
| chmod +x 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 |