[137073] trunk/dports/print/ghostscript/Portfile

larryv at macports.org larryv at macports.org
Wed Jun 3 22:54:00 PDT 2015


Revision: 137073
          https://trac.macports.org/changeset/137073
Author:   larryv at macports.org
Date:     2015-06-03 22:54:00 -0700 (Wed, 03 Jun 2015)
Log Message:
-----------
ghostscript: Don't choke if `distpath` or `workpath` contains spaces

Modified Paths:
--------------
    trunk/dports/print/ghostscript/Portfile

Modified: trunk/dports/print/ghostscript/Portfile
===================================================================
--- trunk/dports/print/ghostscript/Portfile	2015-06-04 05:53:56 UTC (rev 137072)
+++ trunk/dports/print/ghostscript/Portfile	2015-06-04 05:54:00 UTC (rev 137073)
@@ -66,9 +66,9 @@
                     ghostscript-fonts-other-6.0.tar.gz
 
 post-extract {
-    system -W ${workpath} "unzip ${distpath}/${mappingresources_commit}.zip"
-    system -W ${workpath} "unzip ${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_2unicode.zip"
-    system -W ${workpath} "unzip ${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_other.zip"
+    system -W ${workpath} "unzip '${distpath}/${mappingresources_commit}.zip'"
+    system -W ${workpath} "unzip '${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_2unicode.zip'"
+    system -W ${workpath} "unzip '${workpath}/mapping-resources-pdf-${mappingresources_commit}/mappingresources4pdf_other.zip'"
 
 #   MacPorts's lcms2 is 2.4 and it doesn't support cmsPluginTHR() yet.
 #   foreach d {freetype jbig2dec jpeg lcms2 libpng tiff zlib} 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150603/ff06dd3c/attachment.html>


More information about the macports-changes mailing list