[MacPorts] #27097: program suggests running 'port xxx' from within the 'port' interactive shell

MacPorts noreply at macports.org
Mon Nov 1 09:58:38 PDT 2010


#27097: program suggests running 'port xxx' from within the 'port' interactive
shell
----------------------------------+-----------------------------------------
 Reporter:  gba@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.1                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 = TO REPRODUCE =
  1. Install MacPorts 1.9.1
  2. Open the interactive 'port' shell by calling running 'port' from the
 Terminal.
  3. From the 'port' interactive shell run 'selfupdate'.

 = EXPECTED RESULT =
  1. 'selfupdate' should recommend the user run 'upgrade outdated'.

 = ACTUAL RESULT =
  1. 'selfupdate' recommends the user run 'port upgrade outdated'.

 = LOG =
 {{{
 [Users/gba] > selfupdate
 --->  Updating the ports tree
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 1.9.1 installed,
 MacPorts base version 1.9.1 downloaded.
 --->  MacPorts base is already the latest version

 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated
 [Users/gba] > port upgrade outdated
 Unrecognized action "port"
 }}}

 = NOTES =
 While not entirely the end of the world, even a non-naive person like
 myself copy and pasted 'port upgrade outdated' verbatim back into the
 interactive shell. While I realize the expected behavior is to eliminate
 'port' at the beginning of the command when running from within the
 interactive shell, perhaps the shell itself could interpret this and not
 prepend recommended commands with 'port'?

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


More information about the macports-tickets mailing list