X-Git-Url: http://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebKitLibraries%2Fwin%2Ftools%2Fscripts%2Fauto-version.sh;h=ea695e49d0f8fbdf6dfcfa8156519d0718e5311c;hp=e75cdb69627cdf4fcfd34f1fdacf9b6784fa0429;hb=b34d2b90f8e64f3e5acd67ea8e366ea2f312fbf7;hpb=fba3df5f9ce5e218fe31d54a3c508dd82df2b83c;ds=sidebyside diff --git a/WebKitLibraries/win/tools/scripts/auto-version.sh b/WebKitLibraries/win/tools/scripts/auto-version.sh index e75cdb6..ea695e4 100755 --- a/WebKitLibraries/win/tools/scripts/auto-version.sh +++ b/WebKitLibraries/win/tools/scripts/auto-version.sh @@ -44,9 +44,9 @@ fi OUTPUT_FILE=$(cygpath -u "$1")/include/autoversion.h mkdir -p "$(dirname "$OUTPUT_FILE")" -# Take the initial version number from RC_PROJECTSOURCEVERSION if it +# Take the initial version number from RC_ProjectSourceVersion if it # exists, otherwise fall back to the version number stored in the source. -ENVIRONMENT_VERSION="$RC_PROJECTSOURCEVERSION"; +ENVIRONMENT_VERSION="$RC_ProjectSourceVersion"; PROPOSED_VERSION=${ENVIRONMENT_VERSION:-$FALLBACK_VERSION} chomp PROPOSED_VERSION