Commit 58e4ae164804e362b80ea13c07c81dfa0f1dc2c2

Thomas de Grivel 2012-04-21T08:11:08

default path for git-shell

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/Makefile b/Makefile
index b239cb0..8851a3c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,9 +18,11 @@
 PROG =	git-auth
 VER = 0.1
 
+GIT_SHELL ?= /usr/local/bin/git-shell
+
+CPPFLAGS = -DSHELL=\"${GIT_SHELL}\"
 DEBUG ?= -g -DDEBUG
 WARNINGS ?= yes
-
 CDIAGFLAGS ?= -W -Wall -Werror
 LDFLAGS += -W -Wall -Werror