diff options
author | Sascha Grunert <sgrunert@suse.com> | 2020-08-17 09:18:02 +0200 |
---|---|---|
committer | Sascha Grunert <sgrunert@suse.com> | 2020-08-17 10:42:23 +0200 |
commit | ba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85 (patch) | |
tree | a8eacd3359e2ce22a2ded1f7efedc39c045272b5 /test/system/400-unprivileged-access.bats | |
parent | 96fb5dc94d88bc4eafe82382bfb26b64c479f76b (diff) | |
download | podman-ba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85.tar.gz podman-ba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85.tar.bz2 podman-ba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85.zip |
Use `bash` binary from env instead of /bin/bash for scripts
It's not possible to run any of the scripts on distributions which do
have `bash` not in `/bin`. This is being fixed by using `/usr/bin/env
bash` instead.
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
Diffstat (limited to 'test/system/400-unprivileged-access.bats')
-rw-r--r-- | test/system/400-unprivileged-access.bats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/system/400-unprivileged-access.bats b/test/system/400-unprivileged-access.bats index 1b2d14554..142d7dcd9 100644 --- a/test/system/400-unprivileged-access.bats +++ b/test/system/400-unprivileged-access.bats @@ -23,7 +23,7 @@ load helpers # as a user, the parent directory must be world-readable. test_script=$PODMAN_TMPDIR/fail-if-writable cat >$test_script <<"EOF" -#!/bin/bash +#!/usr/bin/env bash path="$1" |