[
https://issues.apache.org/jira/browse/YETUS-342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15408898#comment-15408898
]
Kengo Seki commented on YETUS-342:
----------------------------------
[~clarkkaren] you can find that here:
{code}
964 # we need absolute dir for ${BASEDIR}
965 cd "${STARTINGDIR}" || cleanup_and_exit 1
966 BASEDIR=$(yetus_abs "${BASEDIR}")
{code}
If a directory specified by --basedir does not exist, yetus_abs fails and its
status becomes non-zero. So you can use it so as to determine if you should
abort or not, I think.
> non-existent --basedir gives bad error message
> ----------------------------------------------
>
> Key: YETUS-342
> URL: https://issues.apache.org/jira/browse/YETUS-342
> Project: Yetus
> Issue Type: Bug
> Components: Test Patch
> Affects Versions: 0.2.0
> Reporter: Allen Wittenauer
> Attachments: YETUS-342.00.patch, YETUS-342.01.patch
>
>
> if the --basedir param points to something that doesn't exist, the error
> message printed is bad:
> {code}
> ERROR: is not a git repo.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)