Multipath: [patch] exclude meta data dirs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-Off-By: Guido Günther <agx@xxxxxxxxxxx>

Index: multipath-tools/Makefile
===================================================================
--- multipath-tools.orig/Makefile	2006-12-17 20:22:51.000000000 +0100
+++ multipath-tools/Makefile	2006-12-17 20:23:04.000000000 +0100
@@ -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)

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux