diff --git a/tinyramfs b/tinyramfs index 137cfff..56c11a8 100755 --- a/tinyramfs +++ b/tinyramfs @@ -363,7 +363,7 @@ install_binary() { return # exract paths to libraries - ldd $(command -v "$binary") | + ldd "$fullbin" | sed -nr \ -e 's,.* (/.*lib.*/.*.so.*) .*,\1,p' \ -e 's,.*(/lib.*/ld.*.so.*) .*,\1,p' |