mirror of
https://github.com/tests-always-included/mo.git
synced 2025-05-01 09:46:30 +02:00
Fixing a quoting issue
This commit is contained in:
parent
67e22388da
commit
4e0c6894b4
2
mo
2
mo
@ -327,7 +327,7 @@ moIsFunction() {
|
||||
functionList=$(declare -F)
|
||||
functionList=( ${functionList//declare -f /} )
|
||||
|
||||
for functionName in ${functionList[@]}; do
|
||||
for functionName in "${functionList[@]}"; do
|
||||
if [[ "$functionName" == "$1" ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user