<< Back to previous view |
[QB-2161] Error message when running "agent.sh" on Mac OS X
|
|
Status: | Resolved |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 5.1.30 |
Fix Version/s: | 6.0.0 |
Type: | Bug | Priority: | Minor |
Reporter: | Andrei Kortsak | Assigned To: | Robin Shen |
Resolution: | Fixed | Votes: | 0 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown | ||
Environment: |
QuickBuild buildagent 5.1.30
Mac OS X Yosemite (10.10) |
Description |
Running ".../buildagent/bin/agent.sh start" (starting buildagent) gives next error:
uname: illegal option -- o usage: uname [-amnprsv] Though, it still starts agent. Digging into "agent.sh" showed that it is caused by next code: CYGWIN=`uname -o` As "-o" options for "uname" command is not available on Mac OS X , it gives such error. |
Comments |
Comment by Robin Shen [ 28/Aug/14 03:46 AM ] |
Thanks for the info. Unfortunately we are not able to test again Yosemite as it has not been released yet. Will come up with the fix once it is released. |
Comment by Andrei Kortsak [ 28/Aug/14 12:54 PM ] |
In general, it should have the same issue on all Mac OS X machines where "agent.sh" script will run.
As I have mentioned, "-o" option for "uname" command is not available on Mac OS X (no matter what version - Yosemite or earlier) |
Comment by Robin Shen [ 29/Aug/14 06:58 AM ] |
Thanks for the info. We've verified that QB does have this issue on current version of Mac OS X. We will get it fixed. |