Skip to content

Commit 30d7f54

Browse files
committed
chore: update curl to current 8.18.0
1 parent e42ed5f commit 30d7f54

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

deps/curl.tar.xz

192 KB
Binary file not shown.

scripts/preinstall.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,22 @@ cd "$DEPS_DIR"
3535
# Build curl
3636
echo "Extracting curl..."
3737
CURL_DIR="$DEPS_DIR/curl-src"
38+
CURL_VERSION="curl-8.18.0"
3839
mkdir -p "$CURL_DIR"
3940
# Use -o for busybox tar (Alpine), --no-same-owner for GNU tar
4041
if tar --version 2>/dev/null | grep -q GNU; then
4142
tar xJf ./curl.tar.xz --no-same-owner -C "$CURL_DIR"
4243
else
4344
tar xJf ./curl.tar.xz -o -C "$CURL_DIR"
4445
fi
45-
if [ ! -f "$CURL_DIR/configure" ]; then
46+
if [ ! -f "$CURL_DIR/$CURL_VERSION/configure" ]; then
4647
echo "Error: Failed to extract curl archive" >&2
4748
exit 1
4849
fi
4950

5051
echo "Building curl..."
5152
(
52-
cd "$CURL_DIR"
53+
cd "$CURL_DIR/$CURL_VERSION"
5354
# Only run autoreconf if configure doesn't exist or is older than configure.ac
5455
if [ ! -f configure ] || [ configure.ac -nt configure ]; then
5556
autoreconf -fiv

0 commit comments

Comments
 (0)