[MacPorts] #17620: Problem with Installing python_select

MacPorts noreply at macports.org
Mon Dec 15 13:09:36 PST 2008


#17620: Problem with Installing python_select
-------------------------------------+--------------------------------------
 Reporter:  sean.b.palmer@…          |       Owner:  raimue@…           
     Type:  defect                   |      Status:  assigned           
 Priority:  Normal                   |   Milestone:  Port Bugs          
Component:  ports                    |     Version:  1.6.0              
 Keywords:                           |        Port:  python_select      
-------------------------------------+--------------------------------------

Comment(by sean.b.palmer@…):

 I've isolated it even further. This just gets stranger and stranger:

 {{{
 $ zsh -c 'which head'
 /opt/local/bin/head

 $ zsh -c 'echo test; which head'
 test
 /opt/local/bin/head

 $ zsh -c 'date; which head'
 Mon Dec 15 21:05:15 GMT 2008
 /usr/bin/head

 $ zsh -c 'which head; date; which head'
 /opt/local/bin/head
 Mon Dec 15 21:05:32 GMT 2008
 /opt/local/bin/head

 $ bash -c 'date; which head'
 Mon Dec 15 21:05:55 GMT 2008
 /opt/local/bin/head
 }}}

 If you do date first, it works! This seems to be a pattern with any non-
 shell builtin. If you do a shell builtin as the first invocation in zsh,
 then which doesn't work properly. If you do a non-shell builtin first,
 then which does work properly.

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


More information about the macports-tickets mailing list