[MacPorts] #14452: select.sh produce unneeded warnings when the only option is "-n"

MacPorts noreply at macports.org
Thu Sep 4 17:23:55 PDT 2008


#14452: select.sh produce unneeded warnings when the only option is "-n"
--------------------------------+-------------------------------------------
  Reporter:  ebgssth at gmail.com  |       Owner:  raimue at macports.org               
      Type:  enhancement        |      Status:  new                               
  Priority:  Normal             |   Milestone:  Port Enhancements                 
 Component:  ports              |     Version:  1.6.0                             
Resolution:                     |    Keywords:  gcc_select python_select select.sh
      Port:                     |  
--------------------------------+-------------------------------------------
Changes (by raimue at macports.org):

  * owner:  mww at macports.org => raimue at macports.org


Comment:

 I tried to apply this patch today, but it did not work completely.

 `bash -e` causes problems at the `let` command. As documented in `help
 let` in bash:
 {{{
     If the last ARG evaluates to 0, let returns 1; 0 is returned
     otherwise.
 }}}
 It will always fail on this line using let with -e.

 Committed the other parts of the patch in r39794 and r39795.

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


More information about the macports-tickets mailing list