Bug 535359 (RHQ-2063)

Summary: rhq-agent.sh needs to use = when checking values - some UNIX's don't like ==
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: Launch ScriptsAssignee: John Mazzitelli <mazz>
Status: CLOSED NEXTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: http://jira.rhq-project.org/browse/RHQ-2063
Whiteboard:
Fixed In Version: 1.2.1, 1.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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