changed /bin/bash to /usr/bin/env bash

This commit is contained in:
2020-09-30 01:37:15 +02:00
parent 7c1fd864d7
commit 32b30edc2c
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$UID" != "0" ]; then if [ "$UID" != "0" ]; then
echo " Only root can execute this script, sorry." echo " Only root can execute this script, sorry."
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
VERSION=0.4r8 VERSION=0.4r8
DEST=$1 DEST=$1
shift 1 shift 1
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
function check() function check()
{ {
local a=false local a=false
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
function lowercase() function lowercase()
{ {
echo "$DEST" | tr 'A-Z' 'a-z' echo "$DEST" | tr 'A-Z' 'a-z'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
function lowercase() function lowercase()
{ {
echo "$DEST" | tr 'A-Z' 'a-z' echo "$DEST" | tr 'A-Z' 'a-z'
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$UID" != "0" ]; then if [ "$UID" != "0" ]; then
echo " Only root can execute this script, sorry." echo " Only root can execute this script, sorry."