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 2016/04/13 16:56:25 UTC

[jira] [Updated] (YETUS-366) Wrapper script generated by build.sh doesn't work if the user is in the same location and executes it with a relative path

     [ https://issues.apache.org/jira/browse/YETUS-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allen Wittenauer updated YETUS-366:
-----------------------------------
    Attachment: YETUS-366.00.patch

-00:
* use .. instead of depending upon another dirname
* use exec

> Wrapper script generated by build.sh doesn't work if the user is in the same location and executes it with a relative path
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: YETUS-366
>                 URL: https://issues.apache.org/jira/browse/YETUS-366
>             Project: Yetus
>          Issue Type: Bug
>          Components: build
>            Reporter: Kengo Seki
>            Priority: Minor
>         Attachments: YETUS-366.00.patch
>
>
> {code}
> [sekikn@mobile 0.2.1-RC1]$ mkdir yetus-0.2.1-bin_unpack
> [sekikn@mobile 0.2.1-RC1]$ tar -C yetus-0.2.1-bin_unpack -xzf yetus-0.2.1-bin.tar.gz
> [sekikn@mobile 0.2.1-RC1]$ cd yetus-0.2.1-bin_unpack/yetus-0.2.1/bin
> [sekikn@mobile bin]$ ./test-patch 
> ./test-patch: line 17: ./lib/precommit/test-patch.sh: No such file or directory
> {code}



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