You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Gino Bustelo (JIRA)" <ji...@apache.org> on 2016/02/09 20:33:18 UTC

[jira] [Resolved] (TOREE-230) Makefile requires /bin/bash to run

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

Gino Bustelo resolved TOREE-230.
--------------------------------
    Resolution: Resolved  (was: Unresolved)

> Makefile requires /bin/bash to run
> ----------------------------------
>
>                 Key: TOREE-230
>                 URL: https://issues.apache.org/jira/browse/TOREE-230
>             Project: TOREE
>          Issue Type: Improvement
>            Reporter: Gino Bustelo
>            Assignee: Sean Welleck
>             Fix For: DEC_2015
>
>
> There are some pieces of the Makefile that are tied up to bash.
> {code}
> FULL_VERSION=$(shell echo $(VERSION)`[ "$(IS_SNAPSHOT)" == "true" ] && (echo '-SNAPSHOT')` )
> ASSEMBLY_JAR=$(shell echo kernel-assembly-$(FULL_VERSION).jar )
> {code}
> This would require that in certain environment make needs to be run like
> {code}
> make <target> SHELL=/bin/bash
> {code}
> The docs for make (https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html) talk about how to select the proper shell.
> I'm wondering if we can avoid the issues if we moved to use https://www.gnu.org/software/make/manual/html_node/Functions.html



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