Skip to contentSkip to conversation

Multipath: [patch] exclude meta data dirs

PATCH Guido Guenther 1 participant 1 message Jun 10, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

make sure we don't try to build in .svn, .pc, .git or other SCM metadata directories.
Cheers,
-- Guido

Makefile +1 -1
Index: multipath-tools/Makefile
===================================================================
@@ -20,7 +20,7 @@
 export KRNLSRC
 export KRNLOBJ
 
-BUILDDIRS = $(shell find . -mindepth 2 -name Makefile -exec dirname {} \; | grep -v ^lib)
+BUILDDIRS = $(shell find . -mindepth 2 -name Makefile -exec dirname {} \; | grep -vE '^lib|/\.')
 
 ifeq   ($(MULTIPATH_VERSION),)
 VERSION = $(shell basename ${PWD} | cut -d'-' -f3)