tinyramfs: suppress output of command -v ldd
This commit is contained in:
parent
e5e289284b
commit
db22e16dc9
@ -190,7 +190,7 @@ copy_binary()
|
|||||||
copy_file "$binary" "/bin/${binary##*/}" 755 1
|
copy_file "$binary" "/bin/${binary##*/}" 755 1
|
||||||
|
|
||||||
# Skip copying binary dependencies if ldd not available.
|
# Skip copying binary dependencies if ldd not available.
|
||||||
command -v ldd || return 0
|
command -v ldd > /dev/null || return 0
|
||||||
|
|
||||||
# Copy binary dependencies if any exist.
|
# Copy binary dependencies if any exist.
|
||||||
ldd "$binary" 2> /dev/null |
|
ldd "$binary" 2> /dev/null |
|
||||||
|
Loading…
Reference in New Issue
Block a user