diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-27 13:34:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-27 13:34:33 +0000 |
commit | a5937e5c4590e806832d880b132c7b364b03e3cc (patch) | |
tree | b12ce50eb3543a8e5ea70399c5440927d6004efc /abuild.in | |
parent | 2dc61eb8c740153f6c024b07f97d336514aeadaa (diff) | |
download | abuild-a5937e5c4590e806832d880b132c7b364b03e3cc.tar.gz abuild-a5937e5c4590e806832d880b132c7b364b03e3cc.tar.bz2 abuild-a5937e5c4590e806832d880b132c7b364b03e3cc.tar.xz abuild-a5937e5c4590e806832d880b132c7b364b03e3cc.zip |
abuild: support for alternative awks
some awk's does not understand -F "\ " and treats that as special space
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -453,7 +453,7 @@ prepare_tracedeps() { options_has "!tracedeps" && return 0 find -name '*.so' -o -name '*.so.[0-9]*' | sed 's:.*/::' \ >"$controldir"/.provides-so - scanelf -Rn "$dir" | awk -F "\ " '$1 == "ET_DYN" || $1 == "ET_EXEC" {print $2}' \ + scanelf -Rn "$dir" | tr ' ' ':' | 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 |