--- CronController.m.orig 2006-07-16 15:29:29.000000000 -0500
+++ CronController.m 2011-05-07 23:14:44.000000000 -0500
// See Strings in Cocoa: Part I (Page 3) on Mac Dev Center for how this works
NSString *temp=[NSString stringWithString:[crontest objectAtIndex:i]];
- NSRange range = [temp rangeOfString:@"/usr/local/bin/runpsync"];
+ NSRange range = [temp rangeOfString:@"@PREFIX@/bin/runpsync"];
int length = range.length;
// If our length is greater than zero, then we have a line with our text in it
for(i=0;i<[crontest count];i++) {
// Check each item to see if it contains runpsync
NSString *temp=[NSString stringWithString:[crontest objectAtIndex:i]];
- NSRange range = [temp rangeOfString:@"/usr/local/bin/runpsync"];
+ NSRange range = [temp rangeOfString:@"@PREFIX@/bin/runpsync"];
int length = range.length;