[47758] trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

jmr at macports.org jmr at macports.org
Thu Mar 5 08:42:39 PST 2009


Revision: 47758
          http://trac.macports.org/changeset/47758
Author:   jmr at macports.org
Date:     2009-03-05 08:42:37 -0800 (Thu, 05 Mar 2009)
Log Message:
-----------
xcode portgroup: cope with spaces in xcode.project (#15405)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/xcode-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/xcode-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/xcode-1.0.tcl	2009-03-05 15:34:58 UTC (rev 47757)
+++ trunk/dports/_resources/port1.0/group/xcode-1.0.tcl	2009-03-05 16:42:37 UTC (rev 47758)
@@ -133,9 +133,9 @@
     if {${xcode.project} == ""} {
         set suffix ""
     } else {
-        set suffix [file dirname ${xcode.project}]
+        set suffix [file dirname [join ${xcode.project}]]
     }
-    return [file normalize "${worksrcpath}/${suffix}"]
+    return [file normalize [file join ${worksrcpath} ${suffix}]]
 }
 
 # fix resource dependencies (with Xcode >= 2.1).
@@ -172,7 +172,7 @@
 # get the project argument.
 proc xcode::get_project_arg { project } {
     if {$project != ""} {
-        return "-project $project"
+        return "-project \"[join $project]\""
     } else {
         return ""
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090305/c80c6e81/attachment.html>


More information about the macports-changes mailing list