Commit Diff


commit - 7165924d2c70945b1071f478b1aab457773576e8
commit + 336414eee6beb20c43830a6ae482e31977f609f3
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"