[38251] branches/gsoc08-framework/MacPorts_Framework

armahg at macports.org armahg at macports.org
Sun Jul 13 14:33:41 PDT 2008


Revision: 38251
          http://trac.macosforge.org/projects/macports/changeset/38251
Author:   armahg at macports.org
Date:     2008-07-13 14:33:41 -0700 (Sun, 13 Jul 2008)
Log Message:
-----------
Removing build directory as per blbmp's suggestion

Modified Paths:
--------------
    branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m

Removed Paths:
-------------
    branches/gsoc08-framework/MacPorts_Framework/build/

Modified: branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m
===================================================================
--- branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m	2008-07-13 21:29:21 UTC (rev 38250)
+++ branches/gsoc08-framework/MacPorts_Framework/MPMacPorts.m	2008-07-13 21:33:41 UTC (rev 38251)
@@ -175,13 +175,21 @@
 }
 
 - (NSURL *)pathToPortIndex:(NSString *)source {
-	return [NSURL fileURLWithPath:[interpreter evaluateArrayAsString:[NSArray arrayWithObjects:
-		@"return [macports::getindex",
-		source,
-		@"]",
-		nil]]];
+	return [NSURL fileURLWithPath:
+			[interpreter evaluateArrayAsString:[NSArray arrayWithObjects:
+												@"return [macports::getindex",
+												source,
+												@"]",
+												nil]]];
 }
 
+- (NSURL *)pathToPortIndex:(NSString *)source {
+	return [NSURL fileURLWithPath:
+			[interpreter evaluateStringAsString:
+			 [NSString stringWithFormat:@"return [macports::getindex %@ ]", source]]];
+}
+
+
 - (NSString *)version {
 	if (version == Nil) {
 		version = [interpreter evaluateStringAsString:@"return [macports::version]"];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080713/11080aac/attachment.html 


More information about the macports-changes mailing list