scripts: Don't run find across mountpoints
PATCH 2/2 scripts: Don't run find across mountpoints
Signed-off-by Gabriel de Perthuis <[email protected]>
--- Makefile | 2 +- scripts/tags.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Makefile +1 -1
@@ -403,11 +403,11 @@ export KBUILD_ARFLAGS # even be read-only. export MODVERDIR := $(if $(KBUILD_EXTMOD),$(firstword $(KBUILD_EXTMOD))/).tmp_versions # Files to ignore in find ... statements -export RCS_FIND_IGNORE := ( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \ +export RCS_FIND_IGNORE := -xdev ( -name SCCS -o -name BitKeeper -o -name .svn -o -name CVS \ -o -name .pc -o -name .hg -o -name .git ) -prune -o export RCS_TAR_IGNORE := --exclude SCCS --exclude BitKeeper --exclude .svn \ --exclude CVS --exclude .pc --exclude .hg --exclude .git # ===========================================================================
scripts/tags.sh +1 -1
@@ -10,11 +10,11 @@ if [ "$KBUILD_VERBOSE" = "1" ]; then set -x fi # This is a duplicate of RCS_FIND_IGNORE without escaped '()' -ignore="( -name SCCS -o -name BitKeeper -o -name .svn -o \ +ignore="-xdev ( -name SCCS -o -name BitKeeper -o -name .svn -o \ -name CVS -o -name .pc -o -name .hg -o \ -name .git ) \ -prune -o" # Do not use full path if we do not use O=.. builds
Signature · 1 line
1.8.3.1.588.gb04834f