]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Fix wrong varible name when searching for rootfiles.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Sep 2011 11:54:38 +0000 (13:54 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 18 Sep 2011 11:54:38 +0000 (13:54 +0200)
lfs/Config

index e71294ccbf26269de1824add99f7e3898d922500..82dbab8fb29ec0434e8562617d70fcdb83567630 100644 (file)
@@ -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 ; \