fieker-DuValspielwiese
Last change
on this file since 1e1107 was
ce12a0,
checked in by Hans Schoenemann <hannes@…>, 9 years ago
|
/bin/rm -> command rm (to allow /usr/bin/rm etc.)
|
-
Property mode set to
100755
|
File size:
377 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | surfex_dir="$1" |
---|
3 | shift |
---|
4 | tmp_dir=/tmp |
---|
5 | std_eqn="x^3+y^3+z^3+1-0.25*(x+y+z+1)^3" |
---|
6 | allargs="" |
---|
7 | if [ -z $1 ] ; then |
---|
8 | allargs="-e $std_eqn" |
---|
9 | else |
---|
10 | allargs=$* |
---|
11 | fi |
---|
12 | echo "$PWD" | sed -e 's/ /\\ /g' > $tmp_dir/tmp.$$.txt |
---|
13 | read surfexstartdir <$tmp_dir/tmp.$$.txt |
---|
14 | command rm $tmp_dir/tmp.$$.txt |
---|
15 | cd "$surfex_dir" |
---|
16 | java -jar surfex.jar -d "$surfexstartdir" -t "$tmp_dir" $allargs |
---|
Note: See
TracBrowser
for help on using the repository browser.