diff --git a/build-cmd.sh b/build-cmd.sh index 0373c093..dc5525a1 100755 --- a/build-cmd.sh +++ b/build-cmd.sh @@ -68,7 +68,7 @@ OPENSSL_INCLUDE="${stage}"/packages/include/openssl LIBCURL_HEADER_DIR="${CURL_SOURCE_DIR}"/include LIBCURL_VERSION_HEADER_DIR="$LIBCURL_HEADER_DIR/curl" -version=$(perl -ne 's/#define LIBCURL_VERSION "([^"]+)"/$1/ && print' +version=$(perl -ne 's/#define LIBCURL_VERSION "([^"]+)"/$1/ && print' \ "$(cygpath -m "${LIBCURL_VERSION_HEADER_DIR}/curlver.h")") build=${AUTOBUILD_BUILD_ID:=0} echo "${version}.${build}" > "${stage}/VERSION.txt"