Repository: yetus Updated Branches: refs/heads/YETUS-379 c7cc9dba3 -> 75d533c09
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 Signed-off-by: Sean Busbey <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/yetus/repo Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/4ea61e23 Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/4ea61e23 Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/4ea61e23 Branch: refs/heads/YETUS-379 Commit: 4ea61e238ab0a2b77aa59efc7c319c5b40532295 Parents: c7cc9db Author: Allen Wittenauer <[email protected]> Authored: Wed Apr 13 07:55:26 2016 -0700 Committer: Allen Wittenauer <[email protected]> Committed: Sun Apr 17 10:05:38 2016 -0700 ---------------------------------------------------------------------- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/yetus/blob/4ea61e23/build.sh ---------------------------------------------------------------------- diff --git a/build.sh b/build.sh index ebf2872..8be3911 100755 --- a/build.sh +++ b/build.sh @@ -192,7 +192,7 @@ do # See the License for the specific language governing permissions and # limitations under the License. -"\$(dirname "\$(dirname "\${BASH_SOURCE-0}")")/lib/${utility}" "\${@}" +exec "\$(dirname -- "\${BASH_SOURCE-0}")/../lib/${utility}" "\${@}" EOF chmod +x "${bin_tarball}/bin/${wrapper}" done
