From: Zac Medico Date: Tue, 6 Nov 2012 05:42:18 +0000 (-0800) Subject: prepstrip: handle empty inode list X-Git-Tag: v2.2.0_alpha143~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=764e86e21c907e4bc402a7e65e7b846781b02dbe;p=portage.git prepstrip: handle empty inode list --- diff --git a/bin/ebuild-helpers/prepstrip b/bin/ebuild-helpers/prepstrip index c6bf60e1d..57dbc0fea 100755 --- a/bin/ebuild-helpers/prepstrip +++ b/bin/ebuild-helpers/prepstrip @@ -257,7 +257,7 @@ done < <( # Now we look for unstripped binaries. cd "${tmpdir}/inodes" || die "cd failed" -for inode_link in * ; do +for inode_link in $(shopt -s nullglob; echo *) ; do while read -r x do