From 65ef20b4ac47d3d8731bedb448b435a72c839fe2 Mon Sep 17 00:00:00 2001
From: Fons Rademakers <Fons.Rademakers@cern.ch>
Date: Tue, 19 Feb 2013 23:29:26 +0000
Subject: [PATCH] another fix to exclude LinkDef's in the top src directory.

git-svn-id: http://root.cern.ch/svn/root/trunk@48648 27541ba8-7e3a-0410-8455-c3a389f83636
---
 build/unix/makeonepcm.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build/unix/makeonepcm.sh b/build/unix/makeonepcm.sh
index c78c6f29a2b..8bc01c30d7f 100755
--- a/build/unix/makeonepcm.sh
+++ b/build/unix/makeonepcm.sh
@@ -147,7 +147,7 @@ find $srcdir -path '*/test' -prune -o \
              -path '*/include' -prune -o \
              -follow \
              -name '*LinkDef*.h' -print | \
-  grep -v -e '/RooFitCore_LinkDef.h$' -e "$srcdir/*LinkDef*.h" | \
+  grep -v -e '/RooFitCore_LinkDef.h$' -e "$srcdir/[[:alnum:]]*LinkDef*.h$" | \
   sed -e 's|^|#include "|' -e 's|$|"|' > alldefs.h
 
 mv alldefs.h include/allLinkDef.h
-- 
GitLab