[133833] trunk/dports/gis/proj/Portfile

larryv at macports.org larryv at macports.org
Thu Mar 12 13:55:24 PDT 2015


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

This `system` command fails if the paths contain spaces.

Modified Paths:
--------------
    trunk/dports/gis/proj/Portfile

Modified: trunk/dports/gis/proj/Portfile
===================================================================
--- trunk/dports/gis/proj/Portfile	2015-03-12 20:55:21 UTC (rev 133832)
+++ trunk/dports/gis/proj/Portfile	2015-03-12 20:55:24 UTC (rev 133833)
@@ -30,7 +30,7 @@
 
 post-extract {
     set datumgrid ${distpath}/${name}-datumgrid-${datumgrid_version}.zip
-    system "unzip $datumgrid -d ${worksrcpath}/nad"
+    system "unzip '$datumgrid' -d '${worksrcpath}/nad'"
 }
 
 pre-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150312/ac4ecded/attachment-0001.html>


More information about the macports-changes mailing list