File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,21 +35,22 @@ cd "$DEPS_DIR"
3535# Build curl
3636echo " Extracting curl..."
3737CURL_DIR=" $DEPS_DIR /curl-src"
38+ CURL_VERSION=" curl-8.18.0"
3839mkdir -p " $CURL_DIR "
3940# Use -o for busybox tar (Alpine), --no-same-owner for GNU tar
4041if tar --version 2> /dev/null | grep -q GNU; then
4142 tar xJf ./curl.tar.xz --no-same-owner -C " $CURL_DIR "
4243else
4344 tar xJf ./curl.tar.xz -o -C " $CURL_DIR "
4445fi
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
4849fi
4950
5051echo " 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
You can’t perform that action at this time.
0 commit comments