Commit Diff


commit - d358e4e42e10437d6f6b3c297497ffe1af072031
commit + 5033341e896cb4e7b6f7358e89d9348ba577e823
blob - 2b1255118b91d4c7edef0a6016130ed9de07bfcd
blob + af3cf15215d61e94a762d704ddca0ecf37080994
--- gitwrapper/gitwrapper.c
+++ gitwrapper/gitwrapper.c
@@ -43,8 +43,12 @@
 #include "log.h"
 
 #ifndef GITWRAPPER_GIT_LIBEXEC_DIR
+#ifdef __linux__
+#define GITWRAPPER_GIT_LIBEXEC_DIR "/usr/lib/git-core/"
+#else
 #define GITWRAPPER_GIT_LIBEXEC_DIR "/usr/local/libexec/git"
 #endif
+#endif
 
 #ifndef GITWRAPPER_MY_SERVER_PROG
 #define GITWRAPPER_MY_SERVER_PROG "gotsh"