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

Dima Spivak commented on HBASE-16547:
-------------------------------------

Perhaps {{/usr/bin/env bash}} should be the shebang we enforce in future shell 
scripts? Looking at {{installArchetypes.sh}}, I can't help but think that maybe 
it's doing things that the {{pom.xml}} in that module should be handling, but 
that's a different story.

> hbase-archetype-builder shell scripts assume bash is installed in /bin
> ----------------------------------------------------------------------
>
>                 Key: HBASE-16547
>                 URL: https://issues.apache.org/jira/browse/HBASE-16547
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>             Fix For: 2.0.0, 1.3.0, 1.4.0
>
>         Attachments: HBASE-16547.patch
>
>
> There's no guarantee UNIX systems will have bash installed in /bin. HBase 
> builds fail for me on FreeBSD. The hbase-archetype-builder scripts do not use 
> any bash features so let's specify '/bin/sh' as interpreter instead. 



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

Reply via email to