Fix script to build rpm required for L2 OVS agent for XenServer
Use up to date way to retrieve the version info. Fixes bug #1215619 Change-Id: I7263fd61a8ea407626d2330f7546f4046e803b50
This commit is contained in:
parent
4be6b6e697
commit
5223c17ff7
@ -8,7 +8,7 @@ export PYTHONPATH=$NEUTRON_ROOT
|
||||
|
||||
cd $NEUTRON_ROOT
|
||||
VERSION=$(sh -c "(cat $NEUTRON_ROOT/neutron/version.py; \
|
||||
echo 'print common_version.VersionInfo(\"neutron\").release_string()') | \
|
||||
echo 'print version_info.release_string()') | \
|
||||
python")
|
||||
cd -
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user