From: Schanzenbach, Martin Date: Wed, 24 Jul 2019 08:32:31 +0000 (+0200) Subject: make script run on macOS (*BSD) X-Git-Tag: v0.11.6~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8b4aae8cdf795c5802f4fcb3ec83d2bdba88fdb5;p=oweals%2Fgnunet.git make script run on macOS (*BSD) --- diff --git a/src/transport/test_delay b/src/transport/test_delay index 31c7777c4..5f82b65fb 100755 --- a/src/transport/test_delay +++ b/src/transport/test_delay @@ -1,6 +1,6 @@ #!/bin/sh -TEMP=$(getopt -o t: -- "$@") +TEMP=$(getopt t: "$*") if [ $? != 0 ] ; then exit 1 @@ -15,4 +15,5 @@ while true ; do (*) echo "Error parsing getopt output" ; exit 1 ;; esac done +echo "exec $@" exec "$@"