From 32b30edc2c59f8400e9158d98e6a1afcf7cea3ed Mon Sep 17 00:00:00 2001 From: radikal Date: Wed, 30 Sep 2020 01:37:15 +0200 Subject: [PATCH] changed /bin/bash to /usr/bin/env bash --- install.sh | 2 +- lch | 2 +- lib/check.sh | 2 +- lib/compressor.sh | 2 +- lib/decompressor.sh | 2 +- uninstall.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/install.sh b/install.sh index a6da219..6fd275b 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$UID" != "0" ]; then echo " Only root can execute this script, sorry." diff --git a/lch b/lch index 8498e89..723ecfd 100755 --- a/lch +++ b/lch @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash VERSION=0.4r8 DEST=$1 shift 1 diff --git a/lib/check.sh b/lib/check.sh index 1b12862..3ea2679 100644 --- a/lib/check.sh +++ b/lib/check.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function check() { local a=false diff --git a/lib/compressor.sh b/lib/compressor.sh index 52bc3b1..1fb658d 100644 --- a/lib/compressor.sh +++ b/lib/compressor.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function lowercase() { echo "$DEST" | tr 'A-Z' 'a-z' diff --git a/lib/decompressor.sh b/lib/decompressor.sh index 36105b4..4c138f4 100644 --- a/lib/decompressor.sh +++ b/lib/decompressor.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function lowercase() { echo "$DEST" | tr 'A-Z' 'a-z' diff --git a/uninstall.sh b/uninstall.sh index e235d46..701e1e6 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash if [ "$UID" != "0" ]; then echo " Only root can execute this script, sorry."