From 62fd79b50069a78bbae7c12df4c3819560e687b7 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 08 2011 01:55:42 +0000 Subject: Update cli_getFilesList.sh: - Remove the `--working-copy' and `--directory' options from the cli_checkFiles invocation. They entered in conflict with the `prepare' functionality when we tried to update link information through the option `--links'. Link information under ~/bin/ directory is outside of the working copy and they are not directories but symbolic links and regular files. - So, since this function is widely used in centos-art.sh script, it is better to be on the safe side and using default verifications instead of specific verifications. --- diff --git a/Scripts/Functions/cli_getFilesList.sh b/Scripts/Functions/cli_getFilesList.sh index f0cd43f..36eb704 100755 --- a/Scripts/Functions/cli_getFilesList.sh +++ b/Scripts/Functions/cli_getFilesList.sh @@ -81,9 +81,8 @@ function cli_getFilesList { # look files for. local LOCATIONS="$@" - # Verify locations. They should exist and be directories inside - # the working copy of CentOS Artwork Repository.. - cli_checkFiles ${LOCATIONS} --working-copy --directory + # Verify locations. + cli_checkFiles ${LOCATIONS} # Redefine pattern as regular expression. When we use regular # expressions with find, regular expressions are evaluated against