spielwiese
Last change
on this file since 42845a was
42845a,
checked in by Hans Schönemann <hannes@…>, 15 years ago
|
*hannes: surfex_0_90_00
git-svn-id: file:///usr/local/Singular/svn/trunk@11071 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100755
|
File size:
431 bytes
|
Rev | Line | |
---|
[dec748] | 1 | #!/bin/bash |
---|
| 2 | surfex_dir="$1" |
---|
| 3 | shift |
---|
| 4 | tmp_dir=/tmp |
---|
| 5 | surfex_call="java surfex" |
---|
| 6 | std_eqn="x^3+y^3+z^3+1-0.25*(x+y+z+1)^3" |
---|
| 7 | allargs="" |
---|
| 8 | if [ -z $1 ] ; then |
---|
| 9 | allargs="-e $std_eqn" |
---|
| 10 | else |
---|
| 11 | allargs=$* |
---|
| 12 | fi |
---|
| 13 | echo "$PWD" | sed -e 's/ /\\ /g' > $tmp_dir/tmp.$$.txt |
---|
| 14 | read surfexstartdir <$tmp_dir/tmp.$$.txt |
---|
| 15 | /bin/rm $tmp_dir/tmp.$$.txt |
---|
| 16 | cd "$surfex_dir" |
---|
| 17 | str_exe=$surfex_call$allargs |
---|
[42845a] | 18 | java -jar surfex.jar -d "$surfexstartdir" -t "$tmp_dir" $allargs |
---|
Note: See
TracBrowser
for help on using the repository browser.