source: git/Singular/surfex @ 75f460

spielwiese
Last change on this file since 75f460 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100755
File size: 374 bytes
Line 
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=""
7if [ -z $1 ] ; then
8    allargs="-e $std_eqn"
9else
10    allargs=$*
11fi
12echo "$PWD" | sed -e 's/ /\\ /g' > $tmp_dir/tmp.$$.txt
13read surfexstartdir <$tmp_dir/tmp.$$.txt
14/bin/rm $tmp_dir/tmp.$$.txt
15cd "$surfex_dir"
16java -jar surfex.jar -d "$surfexstartdir" -t "$tmp_dir" $allargs
Note: See TracBrowser for help on using the repository browser.