index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-06-12 21:17:18 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-07-19 12:23:57 +1000 |
commit | 8b4be66a3006abe209f6f6a8ef13991cfa57fe34 (patch) | |
tree | 208ebf02005132a8d79e05c8c756e570a3517566 /scripts/libmakepkg | |
parent | 9a8c7154b1b5842a08db27bd3c3a1607fa0c8f0f (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 36d1b89e..5937e13c 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 +:/{print $8 "/" name}' + awk '/DW_AT_name +:/{name=$8}/DW_AT_comp_dir +:/{{if (name !~ /^\//) {printf "%s/", $8}}{print name}}' } strip_file() { |