History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1203
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Don Ross
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

error installing on MacOSX (probably all unix)

Created: 06/Feb/12 08:04 PM   Updated: 08/Feb/12 12:34 AM
Component/s: None
Affects Version/s: 4.0.26
Fix Version/s: 4.0.27

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.