Don't dump commit message header to devstack-version

Dumping commit message to /usr/local/bin/devstack-version
has broken devstack build, because of bash error in formatting.
error log [1].

[1]. http://logs.openstack.org/20/418720/6/check/gate-tempest-dsvm-networking-odl-boron-snapshot-v2driver/ed9fd45/logs/devstacklog.txt.gz

(cherry picked from  3415521d56)
Change-Id: I4c269a7f3d63ee9a976e7c3636fc3e5e8dab9ae3
This commit is contained in:
Manjeet Singh Bhatia 2017-06-30 01:46:12 +00:00 committed by Ian Wienand
parent 25d48b0172
commit e7f5adbec0
1 changed files with 1 additions and 1 deletions

View File

@ -676,7 +676,7 @@ function enable_kernel_bridge_firewall {
function write_devstack_version {
pushd $TOP_DIR
local git_version=""
git_version=$(git log --format="%H %s %ci" -1)
git_version=$(git log --format="%H %ci" -1)
cat - > /tmp/devstack-version <<EOF
#!/bin/bash