From 85c674bb8f346d7211f73af8a1e69e2081aac2da Mon Sep 17 00:00:00 2001 From: Pi Lanningham Date: Mon, 23 Sep 2024 16:30:05 -0400 Subject: [PATCH] fix: more portable bash usage (#37) * More portable bash usage Use a more portable shebang * Update nview.sh.gotmpl * Update txtop.sh.gotmpl * Update cardano-cli.sh.gotmpl --- packages/cardano-cli/files/cardano-cli.sh.gotmpl | 2 +- packages/cardano-node/files/nview.sh.gotmpl | 2 +- packages/cardano-node/files/txtop.sh.gotmpl | 2 +- packages/mithril-client/files/mithril-client.sh.gotmpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/cardano-cli/files/cardano-cli.sh.gotmpl b/packages/cardano-cli/files/cardano-cli.sh.gotmpl index 0d1f004..5080a58 100644 --- a/packages/cardano-cli/files/cardano-cli.sh.gotmpl +++ b/packages/cardano-cli/files/cardano-cli.sh.gotmpl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash declare -a valid_paths=( "/Users" diff --git a/packages/cardano-node/files/nview.sh.gotmpl b/packages/cardano-node/files/nview.sh.gotmpl index f63bf50..333c977 100755 --- a/packages/cardano-node/files/nview.sh.gotmpl +++ b/packages/cardano-node/files/nview.sh.gotmpl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Run nview docker exec \ diff --git a/packages/cardano-node/files/txtop.sh.gotmpl b/packages/cardano-node/files/txtop.sh.gotmpl index 885f3ec..2f1cffd 100755 --- a/packages/cardano-node/files/txtop.sh.gotmpl +++ b/packages/cardano-node/files/txtop.sh.gotmpl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Run nview docker exec \ diff --git a/packages/mithril-client/files/mithril-client.sh.gotmpl b/packages/mithril-client/files/mithril-client.sh.gotmpl index d4eb15d..b62184c 100644 --- a/packages/mithril-client/files/mithril-client.sh.gotmpl +++ b/packages/mithril-client/files/mithril-client.sh.gotmpl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash declare -a _darwin_allowed_paths=( "/Users"