[133830] trunk/dports/graphics/fontforge/Portfile

larryv at macports.org larryv at macports.org
Thu Mar 12 13:04:37 PDT 2015


Revision: 133830
          https://trac.macports.org/changeset/133830
Author:   larryv at macports.org
Date:     2015-03-12 13:04:37 -0700 (Thu, 12 Mar 2015)
Log Message:
-----------
fontforge: Quote paths properly in post-extract

These `system` calls fail if any of those paths contain spaces.

Modified Paths:
--------------
    trunk/dports/graphics/fontforge/Portfile

Modified: trunk/dports/graphics/fontforge/Portfile
===================================================================
--- trunk/dports/graphics/fontforge/Portfile	2015-03-12 19:38:42 UTC (rev 133829)
+++ trunk/dports/graphics/fontforge/Portfile	2015-03-12 20:04:37 UTC (rev 133830)
@@ -57,8 +57,8 @@
         ${worksrcpath}/cidmap \
         ${worksrcpath}/htdocs
 
-    system "tar xzf ${distpath}/cidmaps.tgz -C ${worksrcpath}/cidmap"
-    system "tar xjf ${distpath}/${docdistfile} -C ${worksrcpath}/htdocs"
+    system "tar xzf '${distpath}/cidmaps.tgz' -C '${worksrcpath}/cidmap'"
+    system "tar xjf '${distpath}/${docdistfile}' -C '${worksrcpath}/htdocs'"
 }
 
 patchfiles      patch-Makefile.dynamic.in.diff \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150312/95a14e66/attachment.html>


More information about the macports-changes mailing list