From 947b70da54a41ad13ba96849c205f5121f016f84 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 09 2011 22:50:28 +0000 Subject: Update cli_checkPathComponent.sh. --- diff --git a/Scripts/Bash/Functions/cli_checkPathComponent.sh b/Scripts/Bash/Functions/cli_checkPathComponent.sh index a980bb7..1b7fb9d 100755 --- a/Scripts/Bash/Functions/cli_checkPathComponent.sh +++ b/Scripts/Bash/Functions/cli_checkPathComponent.sh @@ -75,13 +75,6 @@ function cli_checkPathComponent { fi ;; - '--repo-directory' ) - cli_checkPathComponent "$LOCATION" '--default' - if [[ $(dirname $LOCATION) != $(cli_getRepoName $LOCATION 'd') ]]; then - MESSAGE="`eval_gettext "The value \\\`\\\$LOCATION' is not a valid repository directory."`" - fi - ;; - '--default' | * ) if [[ $LOCATION == '' ]] \ || [[ $LOCATION =~ '(\.\.(/)?)' ]] \