diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-04 18:14:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-06-04 18:14:47 +0000 |
commit | 99ae7bd9c3a109c9f875053811d251244b693a39 (patch) | |
tree | 2f391a69d03a7f5de206448790bb9f43caf71128 /abuild.in | |
parent | f05a89deae82e38c2eaa4485e27190870af2d421 (diff) | |
download | abuild-99ae7bd9c3a109c9f875053811d251244b693a39.tar.gz abuild-99ae7bd9c3a109c9f875053811d251244b693a39.tar.bz2 abuild-99ae7bd9c3a109c9f875053811d251244b693a39.tar.xz abuild-99ae7bd9c3a109c9f875053811d251244b693a39.zip |
abuild: force single space be separator when parsing scanelf output
otherwise will awk not detect empty fields
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -373,7 +373,7 @@ prepare_tracedeps() { local dir=${subpkgdir:-$pkgdir} options_has "!tracedeps" && return 0 find -name '*.so' -o -name '*.so.[0-9]*' | sed 's:.*/::' >"$dir"/.provides-so - scanelf -Rn "$dir" | awk '$1 == "ET_DYN" || $1 == "ET_EXEC" {print $2}' \ + scanelf -Rn "$dir" | awk -F "\ " '$1 == "ET_DYN" || $1 == "ET_EXEC" {print $2}' \ | sed 's:,:\n:g' | sort | uniq \ | while read i; do # only add files that are not self provided |