From 752d4394136a1a6ca471c6e0a70b4ed7813b96b0 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 7 Apr 2015 12:22:38 -0700 Subject: [PATCH] use /bin/bash as shell location when installing dependencies --- WakaTime.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WakaTime.mm b/WakaTime.mm index 20ce24b..9680e25 100644 --- a/WakaTime.mm +++ b/WakaTime.mm @@ -61,7 +61,7 @@ - (void)installCLI { NSLog(@"Installing wakatime cli..."); NSString *script = [NSHomeDirectory() stringByAppendingPathComponent:WAKATIME_INSTALL_SCRIPT]; NSTask *task = [[NSTask alloc] init]; - [task setLaunchPath: @"/usr/local/bin/bash"]; + [task setLaunchPath: @"/bin/bash"]; NSMutableArray *arguments = [NSMutableArray array]; [arguments addObject:script]; [task setArguments: arguments];