]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Suspress a warning if the target dirs don't exist.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Dec 2008 17:51:09 +0000 (18:51 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 27 Dec 2008 17:51:09 +0000 (18:51 +0100)
lfs/Config

index a3d6623006a5fc4ceb271a9883401b5df02859a4..437545f8f6b05c5992df7425fcb85c94bc49a9ef 100644 (file)
@@ -137,7 +137,7 @@ define POSTBUILD
        if [ -s "$(OBJECT)_diff" ]; then \
                LFS_SCRIPT="$(firstword $(MAKEFILE_LIST))"; \
                if [ "x$(PASS)" != "x" ]; then LFS_SCRIPT="$$LFS_SCRIPT.p$(PASS)"; fi; \
-               ROOTFILE=$$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT | head -1); \
+               ROOTFILE=$$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \
                if [ "$$ROOTFILE" = "" ]; then \
                        touch $(OBJECT)_missing_rootfile; \
                        ROOTFILE=$(OBJECT)_missing_rootfile ; \