Fix 'lib64: No such...' error.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@206 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent e8bae45bf8
commit a326e28062

@ -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}/}

Loading…
Cancel
Save