From 4ea01ce18b38c2f3eaf19eeecf76736bd65db673 Mon Sep 17 00:00:00 2001 From: mayrf <70516376+mayrf@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:08:49 +0100 Subject: [PATCH] Make shebangs in scripts directory more portable --- scripts/crd_to_kcl.sh | 2 +- scripts/helm_to_kcl.sh | 2 +- scripts/push_pkg_from.sh | 2 +- scripts/reg.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/crd_to_kcl.sh b/scripts/crd_to_kcl.sh index f406476b..c205fbd0 100755 --- a/scripts/crd_to_kcl.sh +++ b/scripts/crd_to_kcl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$#" -lt 1 ] || [ "$#" -gt 2 ]; then echo "Usage: $0 " diff --git a/scripts/helm_to_kcl.sh b/scripts/helm_to_kcl.sh index 290a6875..a2544bc0 100755 --- a/scripts/helm_to_kcl.sh +++ b/scripts/helm_to_kcl.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # TODO: Make this take a normal helm package name and repo location. This # script tries to avoid changing any local state, like your helm repository # list. To do this with helm, you to link to the tgz of the helm package diff --git a/scripts/push_pkg_from.sh b/scripts/push_pkg_from.sh index 81d9266c..dd249abd 100755 --- a/scripts/push_pkg_from.sh +++ b/scripts/push_pkg_from.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash KCL_MOD_FILE_PATH="$1" diff --git a/scripts/reg.sh b/scripts/reg.sh index cd2890c9..5c411ddb 100755 --- a/scripts/reg.sh +++ b/scripts/reg.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # create a directory to store user passwords mkdir -p ./scripts/registry_auth