mirror of https://github.com/docker/docs.git
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:
parent
820a2242d1
commit
adfdc8e0a0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue