From 6f9ff0c0ec6ccd546dd970d3529296dd3290d204 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Sep 09 2012 01:28:12 +0000 Subject: Update `trunk/Scripts/Bash/Functions/Commons/cli_getFilesList.sh' file. --- diff --git a/Scripts/Bash/Functions/Commons/cli_getFilesList.sh b/Scripts/Bash/Functions/Commons/cli_getFilesList.sh index f6706c8..28b593a 100755 --- a/Scripts/Bash/Functions/Commons/cli_getFilesList.sh +++ b/Scripts/Bash/Functions/Commons/cli_getFilesList.sh @@ -106,7 +106,7 @@ function cli_getFilesList { # regular expresion so it could be possible to use path expansion. # Using path expansion reduce the amount of places to find out # things and so the time required to finish the task. - PATTERN="^.*(/)?${PATTERN}$" + PATTERN="^.*(/[^.])?${PATTERN}$" # Define list of files to process. At this point we cannot verify # whether the LOCATION is a directory or a file since path