Fixes in openEMS.sh
1. use Bourne shell to prevent unnecessary dependencies 2. fix $@ to handle arguments with spaces properlypull/80/head
parent
4c24b6ec75
commit
2a7506482c
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
#clear LD_LIBRARY_PATH
|
#clear LD_LIBRARY_PATH
|
||||||
export LD_LIBRARY_PATH=
|
export LD_LIBRARY_PATH=
|
||||||
|
@ -7,5 +7,5 @@ export LD_LIBRARY_PATH=
|
||||||
openEMS_PATH=`dirname $0`
|
openEMS_PATH=`dirname $0`
|
||||||
|
|
||||||
#execute openEMS
|
#execute openEMS
|
||||||
exec $openEMS_PATH/openEMS $@
|
exec $openEMS_PATH/openEMS "$@"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue