Remove 'origin/' in OVS_BRANCH

When use origin/master, if we re-installed the devstack with a
RECLONE=True, an error will happen with the error message:
  [ERROR] /opt/stack/devstack/functions-common:560 origin/master is neither branch nor tag

Use the branch name without 'origin/' works the same.

Similar change: https://review.openstack.org/#/c/333826

Change-Id: I16f6bd28ad27d4e957c226ed3fceb8881af6e84f
This commit is contained in:
chen-li 2016-06-27 21:11:50 -05:00 committed by Brian Haley
parent 6e3b453ebb
commit bcd77d1c02
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
OVS_REPO=${OVS_REPO:-https://github.com/openvswitch/ovs.git}
OVS_REPO_NAME=$(basename ${OVS_REPO} | cut -f1 -d'.')
OVS_BRANCH=${OVS_BRANCH:-origin/master}
OVS_BRANCH=${OVS_BRANCH:-master}
# Functions