Opened 15 years ago
Closed 15 years ago
#19789 closed defect (fixed)
rcmac (from osxutils port) uses hard-coded path /usr/local/bin/lsmac
Reported by: | m.schwarz@… | Owned by: | waqar@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | osxutils |
Description
rcmac (from osxutils port) uses hard-coded path /usr/local/bin/lsmac thus failing when macports are installed under /opt/local as recommended.
martin@carrot:~/bin$ which rcmac /opt/local/bin/rcmac martin@carrot:~/bin$ rcmac . find: /usr/local/bin/lsmac: No such file or directory martin@carrot:~/bin$ which lsmac /opt/local/bin/lsmac martin@carrot:~/bin$ cat `which rcmac` #!/bin/bash # # Uses find command to list every file using 'lsmac' # # find "$1" -type d -exec \/usr/local/bin/lsmac -o '{}' \; martin@carrot:~/bin$
Change History (2)
comment:1 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to waqar@… |
---|
comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
The manpages have references to /usr/local too.
Fixed both issues in r61231.