From 2a7506482c960e7b78784c77c318a0a51461ab86 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Wed, 18 Aug 2021 23:46:45 -0700 Subject: [PATCH] Fixes in openEMS.sh 1. use Bourne shell to prevent unnecessary dependencies 2. fix $@ to handle arguments with spaces properly --- openEMS.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openEMS.sh b/openEMS.sh index fe5e5e1..6937ef2 100755 --- a/openEMS.sh +++ b/openEMS.sh @@ -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 "$@"