Re: [MacPorts] #14452: select.sh produce unneeded warnings when the only option is "-n"
#14452: select.sh produce unneeded warnings when the only option is "-n" --------------------------------+------------------------------------------- Reporter: ebgssth@gmail.com | Owner: raimue@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@macports.org): * owner: mww@macports.org => raimue@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
participants (1)
-
MacPorts