[
http://jira.codehaus.org/browse/CONTINUUM-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wendy Smoak updated CONTINUUM-2383:
-----------------------------------
Fix Version/s: Backlog
> Continuum-buildagent Start/Stop Script Cannot Find Binaries on Solaris
> ----------------------------------------------------------------------
>
> Key: CONTINUUM-2383
> URL: http://jira.codehaus.org/browse/CONTINUUM-2383
> Project: Continuum
> Issue Type: Bug
> Components: Distributed Builds
> Affects Versions: 1.3.4
> Environment: Solaris 9 and 10
> Reporter: George Snyder
> Priority: Minor
> Fix For: Backlog
>
>
> On Solaris 9 and 10, if the user's PATH has /usr/ucb ahead of /bin, then the
> continuum-buildagent script fails:
> > continuum-buildagent start
> Unable to locate any of the following binaries:
> /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-32
> /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper-SOS-swrc-64
> /opt/continuum/apache-continuum-buildagent-1.3.4/bin/./wrapper
> The problem is in lines such as:
> DIST_OS=`uname -s | tr [:upper:] [:lower:] | tr -d [:blank:]`
> DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
> /usr/ucb/tr does not understand the pattern keywords, and mangles the OS and
> architecture names.
> Recommendation: Use /bin/tr explicitly. (There is already code to decide
> which 'ps' to use; perhaps it could be adapted.)
> Workaround: The user can invoke the script with a modified path, e.g.:
> > env PATH="/bin:$PATH" continuum-buildagent start
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira