[MacPorts] #19789: rcmac (from osxutils port) uses hard-coded path /usr/local/bin/lsmac

MacPorts noreply at macports.org
Thu May 28 01:15:03 PDT 2009


#19789: rcmac (from osxutils port) uses hard-coded path /usr/local/bin/lsmac
--------------------------------+-------------------------------------------
 Reporter:  m.schwarz@…         |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.7.1                                
 Keywords:                      |        Port:  osxutils                             
--------------------------------+-------------------------------------------
 rcmac (from osxutils port) uses hard-coded path /usr/local/bin/lsmac thus
 failing when macports are installed under /opt/local as recommended.


 {{{
 martin at carrot:~/bin$ which rcmac
 /opt/local/bin/rcmac
 martin at carrot:~/bin$ rcmac .
 find: /usr/local/bin/lsmac: No such file or directory
 martin at carrot:~/bin$ which lsmac
 /opt/local/bin/lsmac
 martin at 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 at carrot:~/bin$
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19789>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list