summaryrefslogtreecommitdiff
path: root/test/test_podman_baseline.sh
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2020-08-17 09:18:02 +0200
committerSascha Grunert <sgrunert@suse.com>2020-08-17 10:42:23 +0200
commitba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85 (patch)
treea8eacd3359e2ce22a2ded1f7efedc39c045272b5 /test/test_podman_baseline.sh
parent96fb5dc94d88bc4eafe82382bfb26b64c479f76b (diff)
downloadpodman-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/test_podman_baseline.sh')
-rwxr-xr-xtest/test_podman_baseline.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_podman_baseline.sh b/test/test_podman_baseline.sh
index d205f544a..3624d24c2 100755
--- a/test/test_podman_baseline.sh
+++ b/test/test_podman_baseline.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# test_podman_baseline.sh
# A script to be run at the command line with Podman installed.
# This should be run against a new kit to provide base level testing
@@ -215,7 +215,7 @@ podman run $image ls /
########
FILE=./runecho.sh
/bin/cat <<EOM >$FILE
-#!/bin/bash
+#!/usr/bin/env bash
for i in {1..9};
do
echo "This is a new container pull ipbabble [" \$i "]"