From 35f3d7b096404130700f99b376d19823594a4013 Mon Sep 17 00:00:00 2001 From: Benno Zeeman Date: Wed, 10 Jul 2024 08:53:15 +0200 Subject: [PATCH] chore(resources): use more portable shebang --- resources/scripts/dag-user-comparator.sh | 2 +- resources/scripts/dag-user-sync.sh | 2 +- resources/scripts/make-wallets.sh | 2 +- resources/scripts/set-release-channel.sh | 2 +- resources/scripts/sync_crates_versions.sh | 2 +- resources/scripts/upload-random-data.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/scripts/dag-user-comparator.sh b/resources/scripts/dag-user-comparator.sh index c201032abd..211ba462c9 100755 --- a/resources/scripts/dag-user-comparator.sh +++ b/resources/scripts/dag-user-comparator.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Check if the correct number of arguments is provided if [ "$#" -ne 2 ]; then diff --git a/resources/scripts/dag-user-sync.sh b/resources/scripts/dag-user-sync.sh index 56c44c6faf..9f54af84ca 100755 --- a/resources/scripts/dag-user-sync.sh +++ b/resources/scripts/dag-user-sync.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Check if the correct number of arguments is provided if [ "$#" -ne 2 ]; then diff --git a/resources/scripts/make-wallets.sh b/resources/scripts/make-wallets.sh index aa80a21f1f..b886fcc7a7 100755 --- a/resources/scripts/make-wallets.sh +++ b/resources/scripts/make-wallets.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Function to print a message in a box print_in_box() { diff --git a/resources/scripts/set-release-channel.sh b/resources/scripts/set-release-channel.sh index fe7ac4252e..d61928b3c0 100755 --- a/resources/scripts/set-release-channel.sh +++ b/resources/scripts/set-release-channel.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Define the workspace Cargo.toml location (ensure you're in the workspace root) WORKSPACE_CARGO_TOML="./Cargo.toml" diff --git a/resources/scripts/sync_crates_versions.sh b/resources/scripts/sync_crates_versions.sh index 49cf55d6cf..bc33ecc53e 100755 --- a/resources/scripts/sync_crates_versions.sh +++ b/resources/scripts/sync_crates_versions.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Parse members from Cargo.toml using tomlq members=() diff --git a/resources/scripts/upload-random-data.sh b/resources/scripts/upload-random-data.sh index e0fe843d7a..dbcf5b06be 100755 --- a/resources/scripts/upload-random-data.sh +++ b/resources/scripts/upload-random-data.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Target rate of 1.5mb/s