Skip to content

Commit 36e6078

Browse files
committed
build: use bsdtar
1 parent 794c9f2 commit 36e6078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/builder.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545

4646
versioned_tool_path=$(create_versioned_tool_path)
4747

48-
tar -C "${versioned_tool_path}" --strip 1 -xf "${file}"
48+
bsdtar -C "${versioned_tool_path}" --strip 1 -xf "${file}"
4949

5050
echo "------------------------"
5151
echo "Testing ${TOOL_NAME} ${TOOL_VERSION} for ${ARCHITECTURE}"
@@ -54,4 +54,4 @@ echo "Testing ${TOOL_NAME} ${TOOL_VERSION} for ${ARCHITECTURE}"
5454

5555
echo "------------------------"
5656
echo "Compressing ${TOOL_NAME} ${TOOL_VERSION} for ${ARCHITECTURE}"
57-
tar -cJf "/cache/${TOOL_NAME}-${TOOL_VERSION}-${ARCHITECTURE}.tar.xz" -C "$(find_tool_path)" "${TOOL_VERSION}"
57+
bsdtar -cJf "/cache/${TOOL_NAME}-${TOOL_VERSION}-${ARCHITECTURE}.tar.xz" -C "$(find_tool_path)" "${TOOL_VERSION}"

0 commit comments

Comments
 (0)