From f3947152775e3b13c7bec25aac30bec602d1e14e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Tue, 28 Apr 2015 21:36:11 +0200 Subject: gitconfig: Use the right make executable in git hooks When installing git hooks through $(MAKE) gitconfig, make knows itself (and is a GNU make). So let it splice itself into hooks where necessary by replacing %MAKE%. Change-Id: Iaf778bfa3f17a8fe31312f871571ed89a9de5385 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10018 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer Reviewed-by: Paul Menzel --- util/gitconfig/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/gitconfig/pre-commit') diff --git a/util/gitconfig/pre-commit b/util/gitconfig/pre-commit index 8ab3e5604e85..ccf78d376c97 100755 --- a/util/gitconfig/pre-commit +++ b/util/gitconfig/pre-commit @@ -1,2 +1,2 @@ #!/bin/sh -exec make lint-stable +exec %MAKE% lint-stable -- cgit v1.2.3