summaryrefslogtreecommitdiff
path: root/buildstream/data/projectconfig.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/data/projectconfig.yaml')
-rw-r--r--buildstream/data/projectconfig.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildstream/data/projectconfig.yaml b/buildstream/data/projectconfig.yaml
index b4ad2dcb9..039bcca2d 100644
--- a/buildstream/data/projectconfig.yaml
+++ b/buildstream/data/projectconfig.yaml
@@ -72,7 +72,7 @@ variables:
# Generic implementation for stripping debugging symbols
strip-binaries: |
- find "%{install-root}" -type f \
+ cd "%{install-root}" && find -type f \
'(' -perm -111 -o -name '*.so*' \
-o -name '*.cmxs' -o -name '*.node' ')' \
-exec sh -ec \
@@ -80,7 +80,7 @@ variables:
if [ "$hdr" != "$(printf \\x7fELF)" ]; then
exit 0
fi
- debugfile="%{install-root}%{debugdir}/$(basename "$1")"
+ debugfile="%{install-root}%{debugdir}/$1"
mkdir -p "$(dirname "$debugfile")"
objcopy %{objcopy-extract-args} "$1" "$debugfile"
chmod 644 "$debugfile"