[71990] trunk/dports/textproc/epubcheck

ryandesign at macports.org ryandesign at macports.org
Wed Sep 29 08:48:36 PDT 2010


Revision: 71990
          http://trac.macports.org/changeset/71990
Author:   ryandesign at macports.org
Date:     2010-09-29 08:48:35 -0700 (Wed, 29 Sep 2010)
Log Message:
-----------
epubcheck: simplify wrapper script and allow it to handle files with spaces in their names; see #26664

Modified Paths:
--------------
    trunk/dports/textproc/epubcheck/Portfile
    trunk/dports/textproc/epubcheck/files/epubcheck.in

Modified: trunk/dports/textproc/epubcheck/Portfile
===================================================================
--- trunk/dports/textproc/epubcheck/Portfile	2010-09-29 15:48:28 UTC (rev 71989)
+++ trunk/dports/textproc/epubcheck/Portfile	2010-09-29 15:48:35 UTC (rev 71990)
@@ -5,6 +5,7 @@
 
 name                    epubcheck
 version                 1.0.5
+revision                1
 categories              textproc
 platforms               darwin
 maintainers             nomaintainer

Modified: trunk/dports/textproc/epubcheck/files/epubcheck.in
===================================================================
--- trunk/dports/textproc/epubcheck/files/epubcheck.in	2010-09-29 15:48:28 UTC (rev 71989)
+++ trunk/dports/textproc/epubcheck/files/epubcheck.in	2010-09-29 15:48:35 UTC (rev 71990)
@@ -1,15 +1,2 @@
 #!/usr/bin/env sh
-
-MYTMP=/tmp/epubcheck$$.txt
-
-java -classpath @@EPUBCHECK@@ -jar @@EPUBCHECK@@/epubcheck.jar $@ 2>&1 | tee ${MYTMP}
-
-MYERR=$(grep "^ERROR" ${MYTMP} | wc -l)
-
-rm -f ${MYTMP}
-
-if [ ${MYERR} -ne 0 ]; then
-    exit 1
-fi
-
-exit 0
+exec java -classpath @@EPUBCHECK@@ -jar @@EPUBCHECK@@/epubcheck.jar "$@" 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100929/07421af4/attachment.html>


More information about the macports-changes mailing list