]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed finding of rootfiles.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2009 20:59:19 +0000 (22:59 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 23 Jun 2009 20:59:19 +0000 (22:59 +0200)
lfs/Config

index d33045f5d087c122ba0b68c3bd469ef6d0e84aad..6996932843ca5ad7820bfed7c33792ffacf13606 100644 (file)
@@ -105,8 +105,8 @@ INSTALL_INITSCRIPT = echo "Installing initscript \"$(INITSCRIPT)\" -> /etc/init.
 
 PYTHON_COMPILE = find /usr/lib/python*/ -name *.py | xargs /usr/bin/py-compile
 
-DO_FIND_ROOTFILE = $$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),}/ -type f \
-               -name "$(LFS_FILE)" 2>/dev/null | head -n1)
+DO_FIND_ROOTFILE = $$(find $(DIR_SOURCE)/rootfiles/{core,extras,debug}/{$(TARGET),} -type f \
+       -maxdepth 1 -name "$(LFS_FILE)" 2>/dev/null | head -n1)
 
 define DO_PKG_INFO
        @## ALPHABETICAL ORDER ##