diff options
author | Florian Pritz <bluewind@xinu.at> | 2011-06-17 22:06:44 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-20 07:20:52 +0200 |
commit | 34876e4fe9707de961318da28dba604dffff6d49 (patch) | |
tree | 0f24e92431f0f1c74d9d5d770a05302b39582be6 /scripts | |
parent | 36d98b3919d37c7f376c9f0f787a3b4b660da73e (diff) | |
download | pacman-34876e4fe9707de961318da28dba604dffff6d49.tar.gz pacman-34876e4fe9707de961318da28dba604dffff6d49.tar.xz |
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')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
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" |