From 05e6ab84754eaaadd4694b9335bea7016a98986c Mon Sep 17 00:00:00 2001 From: Z5483 Date: Wed, 19 Aug 2020 19:03:36 -0400 Subject: [PATCH] Use '#!/usr/bin/env bash' for portability The location of bash executive is not always '/bin/bash' for all system --- build.sh | 2 +- install.sh | 2 +- src/install | 2 +- tweak.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build.sh b/build.sh index 7d9d8071..363c4d6c 100755 --- a/build.sh +++ b/build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Bibata Build diff --git a/install.sh b/install.sh index bad1a216..33e326d8 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash INPUT=$1 diff --git a/src/install b/src/install index 0a9d3cbc..240e6395 100644 --- a/src/install +++ b/src/install @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash show_question() { echo -e "\033[1;34m$@\033[0m" diff --git a/tweak.sh b/tweak.sh index 1376d211..c378276f 100755 --- a/tweak.sh +++ b/tweak.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash animate_fix(){ cursor=$1 @@ -43,4 +43,4 @@ fi if [ $? -ne 0 ] then exit 1 -fi \ No newline at end of file +fi