diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-08-17 12:24:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 12:24:58 +0200 |
commit | 47108e2e093bae318773998a18f83d0504a402e0 (patch) | |
tree | 30b4052dc8b72c65d6407300685855f64e56015e /hack/golangci-lint.sh | |
parent | 1db18bf10775cf0502d7e9be4946d1d29a6d8e06 (diff) | |
parent | ba9f18e2b87a1dc6b9f7fea304379c4e41aaaa85 (diff) | |
download | podman-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/golangci-lint.sh')
-rwxr-xr-x | hack/golangci-lint.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hack/golangci-lint.sh b/hack/golangci-lint.sh index 8c81a3743..03c29c89a 100755 --- a/hack/golangci-lint.sh +++ b/hack/golangci-lint.sh @@ -1,6 +1,7 @@ -#!/bin/bash -e +#!/usr/bin/env bash # Need to run linter twice to cover all the build tags code paths +set -e declare -A BUILD_TAGS # TODO: add systemd tag |