source: git/Singular/surfex @ 008215

fieker-DuValspielwiese
Last change on this file since 008215 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
RevLine 
[dec748]1#!/bin/bash
2surfex_dir="$1"
3shift
4tmp_dir=/tmp
5std_eqn="x^3+y^3+z^3+1-0.25*(x+y+z+1)^3"
6allargs=""
[75f460]7if [ -z $1 ] ; then
[dec748]8    allargs="-e $std_eqn"
[75f460]9else
[dec748]10    allargs=$*
11fi
12echo "$PWD" | sed -e 's/ /\\ /g' > $tmp_dir/tmp.$$.txt
13read surfexstartdir <$tmp_dir/tmp.$$.txt
[ce12a0]14command rm $tmp_dir/tmp.$$.txt
[dec748]15cd "$surfex_dir"
[42845a]16java -jar surfex.jar -d "$surfexstartdir" -t "$tmp_dir" $allargs
Note: See TracBrowser for help on using the repository browser.