From 8b4aae8cdf795c5802f4fcb3ec83d2bdba88fdb5 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Wed, 24 Jul 2019 10:32:31 +0200 Subject: [PATCH] make script run on macOS (*BSD) --- src/transport/test_delay | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 "$@" -- 2.25.1