You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2018/05/24 21:28:00 UTC

[jira] [Commented] (OOZIE-2352) Unportable shebang in shell scripts

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

Hadoop QA commented on OOZIE-2352:
----------------------------------

PreCommit-OOZIE-Build started


> Unportable shebang in shell scripts
> -----------------------------------
>
>                 Key: OOZIE-2352
>                 URL: https://issues.apache.org/jira/browse/OOZIE-2352
>             Project: Oozie
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>            Reporter: Dmitry Sivachenko
>            Assignee: Artem Ervits
>            Priority: Major
>             Fix For: 5.1.0
>
>         Attachments: OOZIE-2352-00.patch
>
>
> Some shell scripts in oozie distribution use unportable shebangs:
> #!/bin/bash
> bash shell interpreter may be installed in different locations (e.g /usr/local/bin/bash on FreeBSD).
> The proposed solution is to use more portable
> #!/usr/bin/env bash
> instead.
> Affected files:
> client/src/main/bin/oozie
> distro/src/main/bin/addtowar.sh
> distro/src/main/bin/oozied.sh
> distro/src/main/bin/oozie-setup.sh
> distro/src/main/bin/oozie-sys.sh
> tools/src/main/bin/ooziedb.sh
> core/src/main/conf/oozie-env.sh



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)