From 4e0c6894b4bee29b6b36f1748c2ae245766e95c1 Mon Sep 17 00:00:00 2001 From: Tyler Akins Date: Mon, 21 Dec 2015 09:02:42 -0600 Subject: [PATCH] Fixing a quoting issue --- mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mo b/mo index 82b0411..bd9e2ad 100755 --- a/mo +++ b/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