--- AuthorizedTasks.m.orig 2006-07-06 17:18:37.000000000 -0500
+++ AuthorizedTasks.m 2011-05-07 23:11:49.000000000 -0500
AuthorizationRights *authorizedRights;
AuthorizationFlags flags;
AuthorizationItem items[2];
- char *crontabWriterPath = "/usr/local/bin/psyncwriter";
+ char *crontabWriterPath = "@PREFIX@/bin/psyncwriter";
char *rmPath = "/bin/rm";
AuthorizationRights *authorizedRights;
AuthorizationFlags flags;
AuthorizationItem items[2];
- char *crontabWriterPath = "/usr/local/bin/psyncwriter";
+ char *crontabWriterPath = "@PREFIX@/bin/psyncwriter";
char *rmPath = "/bin/rm";
//a NULL terminated array of C string pointers.
- err = AuthorizationExecuteWithPrivileges(authorizationRef,"/usr/local/bin/psyncwriter", 0, args, NULL);
+ err = AuthorizationExecuteWithPrivileges(authorizationRef,"@PREFIX@/bin/psyncwriter", 0, args, NULL);
- NSLog(@"Couldn't find the psyncwriter helper tool in /usr/local/bin/",err);
+ NSLog(@"Couldn't find the psyncwriter helper tool in @PREFIX@/bin/",err);