[MacPorts] #26664: epubcheck @1.0.5_0 problems with shell wrapper

MacPorts noreply at macports.org
Tue Sep 28 08:51:29 PDT 2010


#26664: epubcheck @1.0.5_0 problems with shell wrapper
-----------------------------------+----------------------------------------
 Reporter:  jpenney@…              |       Owner:  macports-tickets@…                   
     Type:  defect                 |      Status:  new                                  
 Priority:  Normal                 |   Milestone:                                       
Component:  ports                  |     Version:  1.9.1                                
 Keywords:                         |        Port:  epubcheck                            
-----------------------------------+----------------------------------------
 There are number of problems with the epubcheck wrapper script provided
 with this port:

  * creates temporary files without using/checking TMPDIR or TEMP
  * merges output of STDOUT and STDERR (2>&1)
  * looses the exit code returned by the epubcheck application itself, and
 instead parses the combined output
  * looses the ability to pass files with spaces in the name (uses $@
 instead of "$@")

 I'm attaching a patch containing a simplified script that corrects these
 issues.

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


More information about the macports-tickets mailing list