Skip to content

Commit 5e103b5

Browse files
committed
chore: update curl to current 8.18.0
1 parent e42ed5f commit 5e103b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deps/curl.tar.xz

192 KB
Binary file not shown.

scripts/preinstall.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ CURL_DIR="$DEPS_DIR/curl-src"
3838
mkdir -p "$CURL_DIR"
3939
# Use -o for busybox tar (Alpine), --no-same-owner for GNU tar
4040
if tar --version 2>/dev/null | grep -q GNU; then
41-
tar xJf ./curl.tar.xz --no-same-owner -C "$CURL_DIR"
41+
tar xJf ./curl.tar.xz --strip-components=1 --no-same-owner -C "$CURL_DIR"
4242
else
43-
tar xJf ./curl.tar.xz -o -C "$CURL_DIR"
43+
tar xJf ./curl.tar.xz --strip-components=1 -o -C "$CURL_DIR"
4444
fi
4545
if [ ! -f "$CURL_DIR/configure" ]; then
4646
echo "Error: Failed to extract curl archive" >&2

0 commit comments

Comments
 (0)