Skip to content

Commit ed0e0a5

Browse files
committed
fix(install): strip the platform dir prefix when extracting the release tarball
1 parent 79ac9d7 commit ed0e0a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ install_from_release() {
130130
fi
131131

132132
mkdir -p "$tmp/extract"
133-
tar -xzf "$archive" -C "$tmp/extract"
133+
tar -xzf "" -C "/extract" --strip-components=1
134134
mkdir -p "$BIN_DIR"
135135
for bin in preloop preloop-server preloop-runner; do
136136
if [ -f "$tmp/extract/$bin" ]; then

0 commit comments

Comments
 (0)