Fix 'lib64: No such...' error.
authorTim Yamin <plasmaroo@gentoo.org>
Sun, 12 Jun 2005 00:23:41 +0000 (00:23 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sun, 12 Jun 2005 00:23:41 +0000 (00:23 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@206 67a159dc-881f-0410-a524-ba9dfbe2cb84

generic/linuxrc

index 05d79d0cee86dd26c532aecf8d6a538f3b92030e..41bce6bfa2854a66893f6da5c6cd8c6814fc2a06 100644 (file)
@@ -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}/}