[arch-projects] [devtools] [PATCH] find-libdeps: fix syntax error

Florian Pritz bluewind at xinu.at
Sun Dec 25 11:52:54 EST 2011


The problem has been introduced in commit
56d4dec19fbcec23f677114e4104bb9df902ed9f

Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
 find-libdeps.in |    2 +-
 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
-- 
1.7.8.1


More information about the arch-projects mailing list