[
https://issues.apache.org/jira/browse/HBASE-16547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15457007#comment-15457007
]
Andrew Purtell commented on HBASE-16547:
----------------------------------------
bq. Perhaps /usr/bin/env bash should be the shebang we enforce in future shell
scripts?
I considered that, and think only where we need bash because we've scripted
something that requires one of its features
> 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)