find-libdeps: fix syntax error
The problem has been introduced in commit
56d4dec19f
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
This commit is contained in:
parent
2d79191c97
commit
4d4ffb5d8f
|
@ -73,7 +73,7 @@ find . -type f $find_args | while read filename; do
|
||||||
if [[ $script_mode = "provides" ]]; then
|
if [[ $script_mode = "provides" ]]; then
|
||||||
# get the string binaries link to: libfoo.so.1.2 -> libfoo.so.1
|
# get the string binaries link to: libfoo.so.1.2 -> libfoo.so.1
|
||||||
sofile=$(LC_ALL=C readelf -d "$filename" 2>/dev/null | sed -n 's/.*Library soname: \[\(.*\)\].*/\1/p')
|
sofile=$(LC_ALL=C readelf -d "$filename" 2>/dev/null | sed -n 's/.*Library soname: \[\(.*\)\].*/\1/p')
|
||||||
[[ -z $sofile" ]] && sofile="${filename##*/}"
|
[[ -z $sofile ]] && sofile="${filename##*/}"
|
||||||
process_sofile
|
process_sofile
|
||||||
elif [[ $script_mode = "deps" ]]; then
|
elif [[ $script_mode = "deps" ]]; then
|
||||||
# process all libraries needed by the binary
|
# process all libraries needed by the binary
|
||||||
|
|
Loading…
Reference in New Issue