Bug 535359 (RHQ-2063) - rhq-agent.sh needs to use = when checking values - some UNIX's don't like ==
Summary: rhq-agent.sh needs to use = when checking values - some UNIX's don't like ==
Keywords:
Status: CLOSED NEXTRELEASE
Alias: RHQ-2063
Product: RHQ Project
Classification: Other
Component: Launch Scripts
Version: 1.2
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-06 13:41 UTC by John Mazzitelli
Modified: 2009-07-22 19:48 UTC (History)
0 users

Fixed In Version: 1.2.1, 1.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2009-05-06 13:41:00 UTC
# to support other agents/plugin containers, allow the caller to override the main classname
if [ "x$RHQ_AGENT_MAINCLASS" == "x" ]; then
   RHQ_AGENT_MAINCLASS="org.rhq.enterprise.agent.AgentMain"
fi

Some UNIX/Linux flavors don't like ==, they want =

Comment 1 Ian Springer 2009-06-09 17:00:44 UTC
r4054 fixes this in the RHQ_1_2_0_GA_CP branch.


Comment 2 Corey Welton 2009-07-22 19:48:34 UTC
QA Verified.

Comment 3 Red Hat Bugzilla 2009-11-10 20:57:00 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-2063



Note You need to log in before you can comment on or make changes to this bug.