summaryrefslogtreecommitdiff
path: root/find-libdeps.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-12-25 17:52:54 +0100
committerPierre Schmitz <pierre@archlinux.de>2012-01-18 11:06:52 +0100
commit4d4ffb5d8f9cb040c9ab8e4eb55bb88e51c5b18c (patch)
tree3e3a5ecc70d0c4134594f08631c69407656e9870 /find-libdeps.in
parent2d79191c97e8ee965bfea1feef03de26c839dc8a (diff)
downloaddevtools32-4d4ffb5d8f9cb040c9ab8e4eb55bb88e51c5b18c.tar.xz
find-libdeps: fix syntax error
The problem has been introduced in commit 56d4dec19fbcec23f677114e4104bb9df902ed9f Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'find-libdeps.in')
-rw-r--r--find-libdeps.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-libdeps.in b/find-libdeps.in
index b7c3619..a7f2b82 100644
--- a/find-libdeps.in
+++ b/find-libdeps.in
@@ -73,7 +73,7 @@ find . -type f $find_args | while read filename; do
if [[ $script_mode = "provides" ]]; then
# 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')
- [[ -z $sofile" ]] && sofile="${filename##*/}"
+ [[ -z $sofile ]] && sofile="${filename##*/}"
process_sofile
elif [[ $script_mode = "deps" ]]; then
# process all libraries needed by the binary