Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/makepkg.sh.in
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2011-06-17 22:06:44 +0200
committerDan McGee <dan@archlinux.org>2011-06-20 00:20:52 -0500
commit34876e4fe9707de961318da28dba604dffff6d49 (patch)
tree0f24e92431f0f1c74d9d5d770a05302b39582be6 /scripts/makepkg.sh.in
parent36d98b3919d37c7f376c9f0f787a3b4b660da73e (diff)
makepkg: fix broken syntax (double $)
Signed-off-by: Florian Pritz <bluewind@xinu.at> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r--scripts/makepkg.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index dfb79768..78cd4cfc 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -977,7 +977,7 @@ find_libprovides() {
soarch=$(LC_ALL=C readelf -h "$filename" | sed -n 's/.*Class.*ELF\(32\|64\)/\1/p')
# 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##*/}"
# extract the library name: libfoo.so
soname="${sofile%%\.so\.*}.so"