<< Back to previous view

[QB-1203] error installing on MacOSX (probably all unix)
Created: 06/Feb/12  Updated: 08/Feb/12

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: 4.0.26
Fix Version/s: 4.0.27

Type: Bug Priority: Minor
Reporter: Don Ross Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
When installing the agent using the following commands:

% cd /QuickBuild/buildagent/bin
% ./agent.sh install

I see the following output:
    ./agent.sh: line 1031: [A-Z]: command not found

The installation then seems to continue without errors, but the message is alarming. The error is generated when executing this line:
    APP_NAME_LOWER=`echo "$APP_NAME" | $TR_BIN "[A-Z]" "[a-z]"`

The issue is that the variable "$TR_BIN" is not defined anywhere in the script.
By modifying the script to define TR_BIN=/usr/bin/tr, the script completes without errors.
Generated at Wed May 29 09:41:33 UTC 2024 using JIRA 189.