mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-12-24 02:11:49 +01:00
Warning if not run in bash
This commit is contained in:
parent
ac410b3f6c
commit
a0e09aa774
@ -1,6 +1,11 @@
|
||||
#!/bin/bash
|
||||
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 {
|
||||
declare -A o="$1"
|
||||
shift
|
||||
|
Loading…
Reference in New Issue
Block a user