From: Michael Tremer Date: Tue, 23 Jun 2009 20:59:19 +0000 (+0200) Subject: Fixed finding of rootfiles. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1095f8905cd73d7e0de6c3d7392b1f35040ba02b;p=ipfire-3.x.git Fixed finding of rootfiles. --- diff --git a/lfs/Config b/lfs/Config index d33045f5d..699693284 100644 --- a/lfs/Config +++ b/lfs/Config @@ -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 ##