You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Allen Wittenauer (JIRA)" <ji...@apache.org> on 2015/10/13 23:40:05 UTC

[jira] [Commented] (YETUS-72) Unassigned variable ${STARTDIR}?

    [ https://issues.apache.org/jira/browse/YETUS-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14955743#comment-14955743 ] 

Allen Wittenauer commented on YETUS-72:
---------------------------------------

Yeah, it's a simple typo.  Basically that code is checking to see if we already launched test-patch from the place we would have copied it if we were doing a re-exec.

> Unassigned variable ${STARTDIR}?
> --------------------------------
>
>                 Key: YETUS-72
>                 URL: https://issues.apache.org/jira/browse/YETUS-72
>             Project: Yetus
>          Issue Type: Bug
>            Reporter: Kengo Seki
>
> It seems a typo for $\{STARTINGDIR}, but I'm not certain it can be simply rewritten.
> {code}
> [sekikn@mobile yetus]$ grep -r STARTDIR dev-support
> dev-support/test-patch.sh:  if [[ ${STARTDIR} == ${PATCH_DIR}/precommit ]]; then
> [sekikn@mobile yetus]$ grep -r STARTINGDIR dev-support
> dev-support/test-patch.sh:STARTINGDIR=$(pwd)
> dev-support/test-patch.sh:  cd "${STARTINGDIR}"
> dev-support/test-patch.sh:  cd "${STARTINGDIR}"
> dev-support/test-patch.sh:  pushd "${STARTINGDIR}" >/dev/null
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)