- Status Closed
- Percent Complete
- Task Type Patches
- Category Infrastructure → Build environment
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#6499 - fix rockboxdev.sh make/gmake detection in Mac OS X/Darwin
A commit on 22 Nov 09:07 added detection for gmake so it can be used if available.
I assume on standard *nix distros the command “which” should return nothing if the program is not found. However, in mac os x (darwin) “which” returns with an error message when a program is not found.
Example:
$ which gmake
no gmake in /bin /sbin /usr/bin /usr/sbin
This creates problems for this if statement:
if [ -n “`which gmake`” ]; then
make="gmake"
else
I have added a subsequent if statement which seems to fix the problem.
Let me know how I did! (first patch)
Closed by barrywardell
2007-08-13 00:10
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2007-08-13 00:10
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Thanks.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I suspect this behavior (the presence of an error message from "which") is not Darwin specific. Perhaps a BSD thing?
Works great for me!