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."