From: Michael Tremer Date: Sun, 18 Sep 2011 11:54:38 +0000 (+0200) Subject: Fix wrong varible name when searching for rootfiles. X-Git-Tag: v2.9-core54~13^2~66 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=56c997b225eeedcfb2a2682a5af7f990cdaa4f11;p=people%2Fms%2Fipfire-2.x.git Fix wrong varible name when searching for rootfiles. --- diff --git a/lfs/Config b/lfs/Config index e71294ccbf..82dbab8fb2 100644 --- a/lfs/Config +++ b/lfs/Config @@ -130,7 +130,7 @@ define POSTBUILD else LFS_SCRIPT=$(firstword $(MAKEFILE_LIST)); \ fi; \ echo $(LFS_SCRIPT); \ - ROOTFILE=$$(find $(DIR_SRC)/config/rootfiles/{common,packages}/{$(TARGET),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \ + ROOTFILE=$$(find $(DIR_SRC)/config/rootfiles/{common,packages}/{$(MACHINE),} -maxdepth 1 -type f -name $$LFS_SCRIPT 2>/dev/null | head -1); \ if [ "$$ROOTFILE" = "" ]; then \ touch $(TARGET)_missing_rootfile; \ ROOTFILE=$(TARGET)_missing_rootfile ; \