[jbossts-issues] [JBoss JIRA] (JBTM-2226) Issue with MAVEN_OPTS on Debian

Michael Musgrove (JIRA) issues at jboss.org
Mon Jul 14 06:48:29 EDT 2014

    [ https://issues.jboss.org/browse/JBTM-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12984636#comment-12984636 ] 

Michael Musgrove commented on JBTM-2226:

The build script relies on bash being the default shell. So on debian /bin/sh must be resolving to something other than bash. What is the debian default shell (ie what does ps -p $$ report). 

The only solution I can think of is to update build.sh to check that the default script is bash and if not then exit with an error. And in the README explain that the user either needs to update build.sh to refer to bash or we give him a build command line that does not require build.sh.

> Issue with MAVEN_OPTS on Debian
> -------------------------------
>                 Key: JBTM-2226
>                 URL: https://issues.jboss.org/browse/JBTM-2226
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Build System
>    Affects Versions: 5.0.2
>         Environment: Linux debian 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u2 x86_64 GNU/Linux
>            Reporter: Mark Little
>            Assignee: Tom Jenkinson
>            Priority: Minor
> MAVEN_OPTS unset
> mark at debian:~/Desktop/narayana$ ./build.sh -am -l :arjunacore
> ./build.sh: 42: ./build.sh: [[: not found

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list