mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-23 11:49:16 +01:00
Warning if not run in bash
This commit is contained in:
parent
ac410b3f6c
commit
a0e09aa774
@ -1,6 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
cd "$(dirname "$0")" || exit
|
cd "$(dirname "$0")" || exit
|
||||||
|
|
||||||
|
if [ ! "$BASH_VERSION" ] ; then
|
||||||
|
echo "Please do not use sh to run this script, just execute it directly" 1>&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
function Radiolist {
|
function Radiolist {
|
||||||
declare -A o="$1"
|
declare -A o="$1"
|
||||||
shift
|
shift
|
||||||
|
Loading…
Reference in New Issue
Block a user