Skip to content

Commit

Permalink
SL-18837: Fix version logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
nat-goodspeed committed May 18, 2023
1 parent 961312e commit de2efda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-cmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ OPENSSL_INCLUDE="${stage}"/packages/include/openssl
[ -f "$OPENSSL_INCLUDE"/ssl.h ] || fail "You haven't installed the openssl package yet."

LIBCURL_HEADER_DIR="${CURL_SOURCE_DIR}"/include
LIBCURL_VERSION_HEADER_DIR="LIBCURL_HEADER_DIR/curl"
LIBCURL_VERSION_HEADER_DIR="$LIBCURL_HEADER_DIR/curl"
version=$(perl -ne 's/#define LIBCURL_VERSION "([^"]+)"/$1/ && print' "${LIBCURL_VERSION_HEADER_DIR}/curlver.h" | tr -d '\r' )
build=${AUTOBUILD_BUILD_ID:=0}
echo "${version}.${build}" > "${stage}/VERSION.txt"
Expand Down

0 comments on commit de2efda

Please sign in to comment.