[31402] users/rhwood/MacPorts.Framework/MPPort.m
rhwood at macports.org
rhwood at macports.org
Thu Nov 22 06:31:05 PST 2007
Revision: 31402
http://trac.macosforge.org/projects/macports/changeset/31402
Author: rhwood at macports.org
Date: 2007-11-22 06:31:04 -0800 (Thu, 22 Nov 2007)
Log Message:
-----------
Implement the execForTarget method calls on the Tcl API exec function.
Modified Paths:
--------------
users/rhwood/MacPorts.Framework/MPPort.m
Modified: users/rhwood/MacPorts.Framework/MPPort.m
===================================================================
--- users/rhwood/MacPorts.Framework/MPPort.m 2007-11-22 14:00:42 UTC (rev 31401)
+++ users/rhwood/MacPorts.Framework/MPPort.m 2007-11-22 14:31:04 UTC (rev 31402)
@@ -145,7 +145,14 @@
- (void)exec:(NSString *)target {
MPInterpreter *interpreter;
interpreter = [MPInterpreter sharedInterpreter];
-// [interpreter evaluateArrayAsString:];
+ [interpreter evaluateArrayAsString:[NSArray arrayWithObjects:
+ @"set portHandle [mportopen ",
+ [self valueForKey:@"portURL"],
+ @"]; mportexec portHandle",
+ target,
+ @";",
+ @"mportclose portHandle",
+ nil]];
}
#pragma MPMutableDictionary Protocal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071122/332751eb/attachment.html
More information about the macports-changes
mailing list