diff --git a/tinyramfs b/tinyramfs index 8dcb211..aba84ac 100755 --- a/tinyramfs +++ b/tinyramfs @@ -196,12 +196,11 @@ copy_binary() while read -r _library || [ "$_library" ]; do - # skip unneeded stuff - [ "${_library##*vdso*}" ] || continue - _library="${_library#* => }" _library="${_library% *}" + [ -e "$_library" ] || continue + copy_library "$_library" done }