From 0fcccd35ff66e022aa2e044a19d12f611795ca36 Mon Sep 17 00:00:00 2001 From: Petyo Kunchev Date: Mon, 16 Nov 2020 16:38:04 +0200 Subject: [PATCH] /bin/bash replaced with /usr/bin/env bash to match other scripts --- script/crossbinary-default | 2 +- script/update-generated-crd-code.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/script/crossbinary-default b/script/crossbinary-default index aa0466601..3a8d550f6 100755 --- a/script/crossbinary-default +++ b/script/crossbinary-default @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e if ! test -e autogen/genstatic/gen.go; then diff --git a/script/update-generated-crd-code.sh b/script/update-generated-crd-code.sh index efebb287f..78b70420c 100755 --- a/script/update-generated-crd-code.sh +++ b/script/update-generated-crd-code.sh @@ -1,4 +1,5 @@ -#!/bin/bash -e +#!/usr/bin/env bash +set -e HACK_DIR="$( cd "$( dirname "${0}" )" && pwd -P)"; export HACK_DIR REPO_ROOT=${HACK_DIR}/..