947b70
Update cli_checkPathComponent.sh.
@@ -75,13 +75,6 @@ function cli_checkPathComponent {
|
|
75
75
|
fi
|
76
76
|
;;
|
77
77
|
|
78
|
-
'--repo-directory' )
|
79
|
-
cli_checkPathComponent "$LOCATION" '--default'
|
80
|
-
if [[ $(dirname $LOCATION) != $(cli_getRepoName $LOCATION 'd') ]]; then
|
81
|
-
MESSAGE="`eval_gettext "The value \\\`\\\$LOCATION' is not a valid repository directory."`"
|
82
|
-
fi
|
83
|
-
;;
|
84
|
-
|
85
78
|
'--default' | * )
|
86
79
|
if [[ $LOCATION == '' ]] \
|
87
80
|
|| [[ $LOCATION =~ '(\.\.(/)?)' ]] \
|