diff --git a/build/unix/makeonepcm.sh b/build/unix/makeonepcm.sh index 43cfe52f68f9e831a557e23d067c06680c26d05b..c78c6f29a2beffabd363e3f045c414a6991ec1a5 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$' | \ + grep -v -e '/RooFitCore_LinkDef.h$' -e "$srcdir/*LinkDef*.h" | \ sed -e 's|^|#include "|' -e 's|$|"|' > alldefs.h mv alldefs.h include/allLinkDef.h