[MacPorts] #17620: Problem with Installing python_select

MacPorts noreply at macports.org
Mon Dec 15 03:57:05 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@…):

 Some more perplexing diagnostics:

 {{{
 $ which head
 /usr/bin/head

 $ sh -c 'which head'
 /opt/local/bin/head

 $ bash -c 'which head'
 /opt/local/bin/head

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

 $ echo $ZSH_VERSION
 4.2.3

 $ zsh -c 'echo $ZSH_VERSION'
 4.2.3

 $ sh -l -c 'which head'
 /opt/local/bin/head

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

 $ env > env1
 $ sh -c env > env2
 $ diff =(sort env1) =(sort env2)
 17c16
 < SHLVL=1
 ---
 > SHLVL=2
 }}}

 I'd really like to know how my regular shell can tell the difference
 between "HEAD" and "head" when apparently nothing else can, even though
 the environments (including $PATH) are the same except for shell level.

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


More information about the macports-tickets mailing list