Fixes in openEMS.sh

1. use Bourne shell to prevent unnecessary dependencies
2. fix $@ to handle arguments with spaces properly
pull/80/head
Yuri Victorovich 2021-08-18 23:46:45 -07:00
parent 4c24b6ec75
commit 2a7506482c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#clear LD_LIBRARY_PATH
export LD_LIBRARY_PATH=
@ -7,5 +7,5 @@ export LD_LIBRARY_PATH=
openEMS_PATH=`dirname $0`
#execute openEMS
exec $openEMS_PATH/openEMS $@
exec $openEMS_PATH/openEMS "$@"