mirror of
https://github.com/macports/pallet.git
synced 2026-07-12 18:18:47 -07:00
MPActionsController now send the variants with the + prefix. Added a debug line on MPPort
git-svn-id: https://svn.macports.org/repository/macports/branches/gsoc10-gui@69798 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -261,11 +261,17 @@
|
||||
vrnts = [NSString stringWithString:[variants componentsJoinedByString:@" "]];
|
||||
}
|
||||
|
||||
NSLog(@"Variants String: %@", vrnts);
|
||||
//Send Global Notifications and update MPNotifications variable
|
||||
[self sendGlobalExecNotification:target withStatus:@"Started"];
|
||||
//NSString * tclCmd = [@"YES_" stringByAppendingString:target];
|
||||
[[MPNotifications sharedListener] setPerformingTclCommand:target];
|
||||
|
||||
|
||||
NSLog(@"Interpreter string:\n%@",[NSString stringWithFormat:
|
||||
@"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle",
|
||||
[self valueForKey:@"porturl"], opts, vrnts, target]);
|
||||
|
||||
[interpreter evaluateStringWithPossiblePrivileges:
|
||||
[NSString stringWithFormat:
|
||||
@"set portHandle [mportopen %@ %@ %@]; mportexec $portHandle %@; mportclose $portHandle",
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
//NSLog(@"%@",[[port valueForKey:@"variants"] objectAtIndex:i]);
|
||||
if ([checkboxes[i] state] == NSOnState)
|
||||
{
|
||||
[variants addObject:[[port valueForKey:@"variants"] objectAtIndex:i]];
|
||||
[variants addObject:[NSString stringWithFormat:@"+%@", [[port valueForKey:@"variants"] objectAtIndex:i]]];
|
||||
[variantsString appendString:@"+"];
|
||||
[variantsString appendString:[[port valueForKey:@"variants"] objectAtIndex:i]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user