[Unison-hackers] El Capitan issue: installing command line tool

Alan Shutko ats at acm.org
Thu Jun 11 18:09:56 EDT 2015


Ok, that wasn’t much…

diff --git a/src/uimac14/MyController.m b/src/uimac14/MyController.m
index b10d689..7fc00f4 100644
--- a/src/uimac14/MyController.m
+++ b/src/uimac14/MyController.m
@@ -182,7 +182,7 @@ static MyController *me; // needed by reloadTable and displayStatus, below
   /* unless user has clicked Don't ask me again, ask about cltool */
   if ( ([[NSUserDefaults standardUserDefaults] boolForKey:@"CheckCltool"]) && 
 	  (![[NSFileManager defaultManager]
-		 fileExistsAtPath:@"/usr/bin/unison"]) )
+		 fileExistsAtPath:@"/usr/local/bin/unison"]) )
 	  [self raiseCltoolWindow:nil];
 }
 

> On Jun 10, 2015, at 8:02 AM, Alan Shutko <ats at acm.org> wrote:
> 
> I just installed 10.11 preview, and the new security they have blocks us from installing the Unison command line tool in /usr/bin. It works fine if we install in /usr/local/bin.  I’ll work on a patch to change that.
> _______________________________________________
> Unison-hackers mailing list
> Unison-hackers at lists.seas.upenn.edu
> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers



More information about the Unison-hackers mailing list