hashcat.c: change osx to OSX use shared_dir
authorJosh de Kock <josh@itanimul.li>
Fri, 1 Jul 2016 23:48:56 +0000 (00:48 +0100)
committerGitHub <noreply@github.com>
Fri, 1 Jul 2016 23:48:56 +0000 (00:48 +0100)
Fixes #408

src/hashcat.c

index 958ceb7..33ce17d 100644 (file)
@@ -6171,7 +6171,7 @@ int main (int argc, char **argv)
 
   char *exec_path = get_exec_path ();
 
-  #ifdef LINUX
+  #if defined(LINUX) || defined(__APPLE__)
 
   char *resolved_install_folder = realpath (INSTALL_FOLDER, NULL);
   char *resolved_exec_path      = realpath (exec_path, NULL);