dist: do not require Perl in maketgz

Perl remains required for the tarball build process.

Follow-up to 860cd5fc2d #13299

Reviewed-by: Daniel Stenberg
Closes #13310
This commit is contained in:
Viktor Szakats 2024-04-07 23:35:09 +00:00
parent 20434a6aeb
commit 2c4f836f70
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201

View File

@ -66,8 +66,7 @@ fi
echo "removing all old *.dist files"
find . -name "*.dist" -a ! -name Makefile.dist -exec rm {} \;
numeric=$(perl -e \
'printf("%02x%02x%02x\n", '"$major, $minor, $patch);")
numeric="$(printf "%02x%02x%02x\n" "$major" "$minor" "$patch")"
HEADER=include/curl/curlver.h
CHEADER=src/tool_version.h