From f540f407af63c015f7dc9e158629a88d6e85ccd5 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 06 2011 02:36:05 +0000 Subject: Update cli_getFunctions.sh. Start using cli_getFilesList@2552. --- diff --git a/Scripts/Functions/cli_getFunctions.sh b/Scripts/Functions/cli_getFunctions.sh index 63dd4c2..bdf6fdf 100644 --- a/Scripts/Functions/cli_getFunctions.sh +++ b/Scripts/Functions/cli_getFunctions.sh @@ -33,7 +33,7 @@ function cli_getFunctions { local PATTERN="^function[[:space:]]+${FUNCNAM}[[:alnum:]_]*[[:space:]]+{$" # Define list of files. - local FUNCFILES=$(cli_getFilesList "${LOCATION}" "${FUNCNAM}.*\.sh") + local FUNCFILES=$(cli_getFilesList ${LOCATION} --pattern="${FUNCNAM}.*\.sh" --maxdepth="1") # Process list of files. for FILE in $FUNCFILES;do