Skip to content

Commit 857f860

Browse files
fix: shellcheck linter
1 parent 48446f9 commit 857f860

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

contrib/guix/libexec/build.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,10 +345,7 @@ mkdir -p "$DISTSRC"
345345
case "$HOST" in
346346
*linux*)
347347
# Compress DWARF sections in debug files and set proper permissions
348-
find "${DISTNAME}" -name "*.dbg" -type f -print0 | xargs -0 -P"$JOBS" -I{} sh -c '
349-
objcopy --compress-debug-sections=zlib "$1" "$1.tmp" && mv "$1.tmp" "$1"
350-
chmod 644 "$1"
351-
' _ {}
348+
find "${DISTNAME}" -name "*.dbg" -type f -print0 | xargs -0 -P"$JOBS" -I{} sh -c "objcopy --compress-debug-sections=zlib \"\$1\" \"\$1.tmp\" && mv \"\$1.tmp\" \"\$1\"; chmod 644 \"\$1\"" _ {}
352349

353350
# Create .build-id tree for perf auto-discovery
354351
mkdir -p "${DISTNAME}/usr/lib/debug/.build-id"

0 commit comments

Comments
 (0)