get path in openEMS.sh

pull/1/head
Thorsten Liebig 2010-03-29 22:10:09 +02:00
parent 5a47a6443a
commit ea31ec1d7a
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,11 @@
#!/bin/bash
#clear LD_LIBRARY_PATH
export LD_LIBRARY_PATH=
exec /home/thorsten/devel/openEMS/openEMS $@
#get path to openEMS
openEMS_PATH=`dirname $0`
#execute openEMS
exec $openEMS_PATH/openEMS $@