mirror of
https://github.com/tests-always-included/mo.git
synced 2024-12-18 16:27:52 +00: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=$(declare -F)
|
||||||
functionList=( ${functionList//declare -f /} )
|
functionList=( ${functionList//declare -f /} )
|
||||||
|
|
||||||
for functionName in ${functionList[@]}; do
|
for functionName in "${functionList[@]}"; do
|
||||||
if [[ "$functionName" == "$1" ]]; then
|
if [[ "$functionName" == "$1" ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user