aboutsummaryrefslogtreecommitdiff
path: root/hack/install_catatonit.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-08-17 12:24:58 +0200
committerGitHub <noreply@github.com>2020-08-17 12:24:58 +0200
commit47108e2e093bae318773998a18f83d0504a402e0 (patch)
tree30b4052dc8b72c65d6407300685855f64e56015e /hack/install_catatonit.sh
parent1db18bf10775cf0502d7e9be4946d1d29a6d8e06 (diff)
parentba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85 (diff)
downloadpodman-47108e2e093bae318773998a18f83d0504a402e0.tar.gz
podman-47108e2e093bae318773998a18f83d0504a402e0.tar.bz2
podman-47108e2e093bae318773998a18f83d0504a402e0.zip
Merge pull request #7333 from openSUSE/bashify
Use `bash` binary from env instead of /bin/bash for scripts
Diffstat (limited to 'hack/install_catatonit.sh')
-rwxr-xr-xhack/install_catatonit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hack/install_catatonit.sh b/hack/install_catatonit.sh
index 7fd7592a9..8837db3a8 100755
--- a/hack/install_catatonit.sh
+++ b/hack/install_catatonit.sh
@@ -1,7 +1,8 @@
-#!/bin/bash -e
+#!/usr/bin/env bash
BASE_PATH="/usr/libexec/podman"
CATATONIT_PATH="${BASE_PATH}/catatonit"
CATATONIT_VERSION="v0.1.4"
+set -e
if [ -f $CATATONIT_PATH ]; then
echo "skipping ... catatonit is already installed"