[build][dashboard] mkdir /var/log/horizon before calling manage.py

Change-Id: I49a8cf956746df696c9c401c6f614c941ecfbf7e
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
This commit is contained in:
Zhijiang Hu 2016-05-04 15:37:57 +08:00
parent c6dfde3b1a
commit 9fa35a8936
1 changed files with 2 additions and 0 deletions

View File

@ -291,6 +291,8 @@ cd openstack_dashboard && django-admin compilemessages && cd ..
# compress css, js etc.
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py
mkdir -p /var/log/horizon/
# get it ready for compressing later in puppet-horizon
%{__python} manage.py collectstatic --noinput