From 23cb0646bf62b3d8173ad4582b2f63eba68c45a9 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 28 Jan 2025 15:19:51 +0530 Subject: [PATCH] Use portable shebangs (#7) * h2mm: use portable shebang * install.sh: use portable shebang --- h2mm | 2 +- install.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/h2mm b/h2mm index 97c0cd7..c17ac61 100755 --- a/h2mm +++ b/h2mm @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash VERSION="0.3.2" diff --git a/install.sh b/install.sh index 42677e5..330e8b8 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e RED='\033[0;31m' @@ -124,4 +124,4 @@ if [[ ! -x "$(command -v $SCRIPT_NAME)" ]]; then exit 1 fi -echo "Helldivers 2 Mod Manager CLI installed successfully to $DESTINATION_PATH/$SCRIPT_NAME. Use it by running '$SCRIPT_NAME'." \ No newline at end of file +echo "Helldivers 2 Mod Manager CLI installed successfully to $DESTINATION_PATH/$SCRIPT_NAME. Use it by running '$SCRIPT_NAME'."