From: Tim Yamin Date: Sun, 12 Jun 2005 00:23:41 +0000 (+0000) Subject: Fix 'lib64: No such...' error. X-Git-Tag: v3.4.10.902~546 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a326e2806257b0b6ac7690a367008dda20250197;p=genkernel.git Fix 'lib64: No such...' error. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@206 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/generic/linuxrc b/generic/linuxrc index 05d79d0..41bce6b 100644 --- a/generic/linuxrc +++ b/generic/linuxrc @@ -535,7 +535,7 @@ then for x in ${ROOT_LINKS} do # List all subdirectories of x - for directory in `find "/newroot/${FS_LOCATION}/${x}" -type d` + for directory in $(find "/newroot/${FS_LOCATION}/${x}" -type d 2>/dev/null) do ## Strip the prefix of the FS_LOCATION directory=${directory#/newroot/${FS_LOCATION}/}