Open gdevenyi opened 6 years ago
We use lots of bashisms, for good reason.
Perhaps we should check and bail out if a non-bash shell is running the script?
One way to check: https://askubuntu.com/questions/97522/how-can-my-script-determine-whether-its-being-run-by-bash-or-dash
Yes I like it! And if people want to force it, they can just run with BASH_VERSION=force or similar
BASH_VERSION=force
We use lots of bashisms, for good reason.
Perhaps we should check and bail out if a non-bash shell is running the script?
One way to check: https://askubuntu.com/questions/97522/how-can-my-script-determine-whether-its-being-run-by-bash-or-dash