fetch-upstream-resources: fix check for svn vars

These checks were now checking the literal "engine_svn_branch" and
"distribution_svn_branch" string, instead of the value of the variables.

This was introduced in 1f7d4ce871 (whoops!)

We currently don't use this functionality, so not a critical bug.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-02-28 13:28:39 +01:00
parent 820a2242d1
commit adfdc8e0a0
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 2 additions and 2 deletions

View File

@ -53,11 +53,11 @@ sedi "s/{{ site.latest_engine_api_version }}/$latest_engine_api_version/g" ./_da
# Translate branches for use by svn
engine_svn_branch="branches/${ENGINE_BRANCH}"
if [ engine_svn_branch = "branches/master" ]; then
if [ "${engine_svn_branch}" = "branches/master" ]; then
engine_svn_branch=trunk
fi
distribution_svn_branch="branches/${DISTRIBUTION_BRANCH}"
if [ distribution_svn_branch = "branches/master" ]; then
if [ "${distribution_svn_branch}" = "branches/master" ]; then
distribution_svn_branch=trunk
fi