From 64b43070c96345c91e8ce10d883fe9fd25b10d9d Mon Sep 17 00:00:00 2001
From: Mark Olesen <Mark.Olesen@Germany>
Date: Wed, 16 Feb 2011 09:57:03 +0100
Subject: [PATCH] GIT: skip tab check on Makefiles (not just wmake/Makefiles)

---
 bin/tools/pre-commit-hook  | 2 +-
 bin/tools/pre-receive-hook | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/tools/pre-commit-hook b/bin/tools/pre-commit-hook
index d44edba275e..44518f08371 100755
--- a/bin/tools/pre-commit-hook
+++ b/bin/tools/pre-commit-hook
@@ -148,7 +148,7 @@ checkIllegalCode()
     do
         case "$f" in
         # exclude potential makefiles
-        (wmake/[Mm]akefile* | wmake/rules/*)
+        (*[Mm]akefile* | wmake/rules/*)
         ;;
         (*)
             # parse line numbers from grep output:
diff --git a/bin/tools/pre-receive-hook b/bin/tools/pre-receive-hook
index cf4dcb42be6..641185cf131 100755
--- a/bin/tools/pre-receive-hook
+++ b/bin/tools/pre-receive-hook
@@ -111,7 +111,7 @@ checkIllegalCode()
     do
         case "$f" in
         # exclude potential makefiles
-        (wmake/[Mm]akefile* | wmake/rules/*)
+        (*[Mm]akefile* | wmake/rules/*)
         ;;
         (*)
             # parse line numbers from grep output:
-- 
GitLab