Use #!/bin/bash instead of #!/bin/sh (#6062)
The script uses double square brackets, which are a non-standard extension to `[]`. Some shells (e.g. dash, the default shell under Debian) do not support double square brackets. The shebang line should reflect that.
This commit is contained in:
committed by
Antonio Davi Macedo Coelho de Castro
parent
da4871af88
commit
431cb94ae3
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
GREEN='\033[0;32m'
|
GREEN='\033[0;32m'
|
||||||
NC='\033[0m'
|
NC='\033[0m'
|
||||||
|
|||||||
Reference in New Issue
Block a user