diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-07-24 10:32:31 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-07-24 10:32:31 +0200 |
commit | 8b4aae8cdf795c5802f4fcb3ec83d2bdba88fdb5 (patch) | |
tree | 1c1441756308b731620767a37541b540ec146b61 /src/transport/test_delay | |
parent | f01e72dec9b6e513a3e6fe21f128e76eee24b01d (diff) | |
download | gnunet-8b4aae8cdf795c5802f4fcb3ec83d2bdba88fdb5.tar.gz gnunet-8b4aae8cdf795c5802f4fcb3ec83d2bdba88fdb5.zip |
make script run on macOS (*BSD)
Diffstat (limited to 'src/transport/test_delay')
-rwxr-xr-x | src/transport/test_delay | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | 2 | ||
3 | TEMP=$(getopt -o t: -- "$@") | 3 | TEMP=$(getopt t: "$*") |
4 | 4 | ||
5 | if [ $? != 0 ] ; then | 5 | if [ $? != 0 ] ; then |
6 | exit 1 | 6 | exit 1 |
@@ -15,4 +15,5 @@ while true ; do | |||
15 | (*) echo "Error parsing getopt output" ; exit 1 ;; | 15 | (*) echo "Error parsing getopt output" ; exit 1 ;; |
16 | esac | 16 | esac |
17 | done | 17 | done |
18 | echo "exec $@" | ||
18 | exec "$@" | 19 | exec "$@" |