diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-01-07 11:03:25 +0900 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-01-07 11:03:25 +0900 |
commit | 46056676440a0f6d100169f780d6b9ecf960a56f (patch) | |
tree | 38eb3429f2ce6a7e1a9a93ca67661199d74fbe9b /contrib | |
parent | 2c2b2911e1585dc378dbb88d4dd6aaec37b00316 (diff) | |
download | gnunet-46056676440a0f6d100169f780d6b9ecf960a56f.tar.gz gnunet-46056676440a0f6d100169f780d6b9ecf960a56f.zip |
TESTING: Fix shebang in netjail scripts
Bashisms are used in netjail scripts for better or worse.
But the sheband /bin/sh was wrong to use in that case.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/netjail/netjail_core.sh | 4 | ||||
-rwxr-xr-x | contrib/netjail/netjail_exec.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/netjail/netjail_core.sh b/contrib/netjail/netjail_core.sh index 5e4fb39f1..8c1744853 100755 --- a/contrib/netjail/netjail_core.sh +++ b/contrib/netjail/netjail_core.sh | |||
@@ -1,5 +1,5 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/bash |
2 | # | 2 | # |
3 | 3 | ||
4 | 4 | ||
5 | PREFIX=${PPID:?must run from a parent process} | 5 | PREFIX=${PPID:?must run from a parent process} |
diff --git a/contrib/netjail/netjail_exec.sh b/contrib/netjail/netjail_exec.sh index a08f7324b..34edf56bf 100755 --- a/contrib/netjail/netjail_exec.sh +++ b/contrib/netjail/netjail_exec.sh | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/bash |
2 | . "$(dirname $0)/netjail_core.sh" | 2 | . "$(dirname $0)/netjail_core.sh" |
3 | 3 | ||
4 | set -eu | 4 | set -eu |