From eed63893737a1bc529e9980f6157a81a5a26120e Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 29 2011 03:17:21 +0000 Subject: Update cli_checkRepoDirSource.sh: - Do the action value (ACTIONVAL) path transformation only. Just to be sure it is an absolute path. --- diff --git a/Scripts/Functions/cli_checkRepoDirSource.sh b/Scripts/Functions/cli_checkRepoDirSource.sh index 509e0ef..5b3eced 100755 --- a/Scripts/Functions/cli_checkRepoDirSource.sh +++ b/Scripts/Functions/cli_checkRepoDirSource.sh @@ -24,7 +24,7 @@ # ---------------------------------------------------------------------- function cli_checkRepoDirSource { - + # Check action value to be sure strange characters are kept far # away from path provided. cli_checkPathComponent $ACTIONVAL @@ -81,14 +81,6 @@ function cli_checkRepoDirSource { # Remove directory from the directory stack. popd > /dev/null - else - - # At this there is no existent working copy entry, nor a valid - # url. The source value can only be considered as such if it - # is an existent working copy or valid url. So, print a - # message and stop script execution. - cli_printMessage "`eval_gettext "The location \\\"\\\$ACTIONVAL\\\" is not valid."`" --as-error-line - fi }