Merge pull request #3496 from msk-/use-usr-bin-env-bash-for-scripts

Use `/usr/bin/env bash` instead of `/bin/bash` in scripts
This commit is contained in:
Jeff Regan
2021-01-26 12:01:01 -08:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
# Makefile for kustomize CLI and API.
MYGOBIN := $(shell go env GOPATH)/bin
SHELL := /bin/bash
SHELL := /usr/bin/env bash
export PATH := $(MYGOBIN):$(PATH)
MODULES := '"cmd/config" "api/" "kustomize/" "kyaml/"'

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
@@ -20,4 +20,4 @@ else
echo "Multi-module check skipped. No PULL_NUMBER provided.
To run this check locally set PULL_NUMBER to the PR ID from GitHub."
fi
fi

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright 2019 The Kubernetes Authors.
# SPDX-License-Identifier: Apache-2.0