index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2021-03-27 09:13:05 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-03-27 09:22:15 +1000 |
commit | bdf6aa3fb757a2363a4e708174b7d23a4997763d (patch) | |
tree | 6492a83937c1a587c0e97cae52d85d0bacc1b94e /scripts/libmakepkg | |
parent | 1e60a5f00674a9a9b0c530c741bd6701d0e1e834 (diff) |
-rw-r--r-- | scripts/libmakepkg/tidy/strip.sh.in | 2 |
diff --git a/scripts/libmakepkg/tidy/strip.sh.in b/scripts/libmakepkg/tidy/strip.sh.in index ceb2a108..737c5115 100644 --- a/scripts/libmakepkg/tidy/strip.sh.in +++ b/scripts/libmakepkg/tidy/strip.sh.in @@ -37,7 +37,7 @@ build_id() { source_files() { LANG=C readelf "$1" --debug-dump | \ - awk '/DW_AT_name +:/{name=$8}/DW_AT_comp_dir +:/{{if (name == "<artificial>") next}{if (name !~ /^[<\/]/) {printf "%s/", $8}}{print name}}' + awk '/DW_AT_name +:/{name=$NF}/DW_AT_comp_dir +:/{{if (name == "<artificial>") next}{if (name !~ /^[<\/]/) {printf "%s/", $NF}}{print name}}' } strip_file() { |