summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSteven Noonan <steven@uplinklabs.net>2014-04-03 13:56:22 +1000
committerAllan McRae <allan@archlinux.org>2014-04-21 20:25:02 +1000
commit6103183253f16edf32fb5c01a288a80a50092d88 (patch)
tree64774ebdefda6087e823e0b2b53f61cb9515103b /scripts
parentd8b09e6656070f8c2551e3e0f75e40b3c2a669db (diff)
downloadpacman-6103183253f16edf32fb5c01a288a80a50092d88.tar.xz
makepkg: use dash instead of underscore in /usr/lib/debug/.build-id
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/makepkg.sh.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 78941d4f..95994dd0 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1532,7 +1532,7 @@ strip_file() {
# has this file already been stripped
if [[ -n "$bid" ]]; then
- if [[ -f "$dbgdir/.build_id/${bid:0:2}/${bid:2}.debug" ]]; then
+ if [[ -f "$dbgdir/.build-id/${bid:0:2}/${bid:2}.debug" ]]; then
return
fi
elif [[ -f "$dbgdir/$binary.debug" ]]; then
@@ -1553,15 +1553,15 @@ strip_file() {
if [[ -n "$bid" ]]; then
local target
- mkdir -p "$dbgdir/.build_id/${bid:0:2}"
+ mkdir -p "$dbgdir/.build-id/${bid:0:2}"
target="../../../../../${binary#./}"
target="${target/..\/..\/usr\/lib\/}"
target="${target/..\/usr\/}"
- ln -s "$target" "$dbgdir/.build_id/${bid:0:2}/${bid:2}"
+ ln -s "$target" "$dbgdir/.build-id/${bid:0:2}/${bid:2}"
target="../../${binary#./}.debug"
- ln -s "$target" "$dbgdir/.build_id/${bid:0:2}/${bid:2}.debug"
+ ln -s "$target" "$dbgdir/.build-id/${bid:0:2}/${bid:2}.debug"
fi
fi