From 33a7525f48953b9098029b21d392386b0cfcba09 Mon Sep 17 00:00:00 2001 From: 2b Date: Thu, 20 Jun 2024 11:37:37 +0300 Subject: [PATCH] Make scripts portable between different Linux distributions --- scripts/install.sh | 4 +++- scripts/run.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index 315cb0d..13b12d5 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,4 +1,6 @@ -#! /bin/bash -e +#!/usr/bin/env bash + +set -e cd $HELM_PLUGIN_DIR echo "Installing helm-datree..." diff --git a/scripts/run.sh b/scripts/run.sh index 79e9d07..6edcfe6 100755 --- a/scripts/run.sh +++ b/scripts/run.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash set -eo pipefail