Skip to content

Commit f6f9ebf

Browse files
committed
fix: mktemp file not dir
1 parent 723da85 commit f6f9ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/vmlinux-to-btf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ try_decompress() {
2323
lzcat "$1" || \
2424
lz4cat "$1" || \
2525
lzop -c "$1" || \
26-
zstdcat "$1") > "$tmp"/vmlinux; then
27-
echo "$tmp"/vmlinux
26+
zstdcat "$1") > "$tmp"; then
27+
echo "$tmp"
2828
else
2929
echo "$1"
3030
fi

0 commit comments

Comments
 (0)