Merge "Calls manager.py by "$PYTHON" instead of "env python""
This commit is contained in:
commit
47a3a89788
@ -11,7 +11,7 @@ function configure_trove_dashboard {
|
|||||||
# NOTE: If locale directory does not exist, compilemessages will fail,
|
# NOTE: If locale directory does not exist, compilemessages will fail,
|
||||||
# so check for an existence of locale directory is required.
|
# so check for an existence of locale directory is required.
|
||||||
if [ -d ${TROVE_DASHBOARD_DIR}/trove_dashboard/locale ]; then
|
if [ -d ${TROVE_DASHBOARD_DIR}/trove_dashboard/locale ]; then
|
||||||
(cd ${TROVE_DASHBOARD_DIR}/trove_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages)
|
(cd ${TROVE_DASHBOARD_DIR}/trove_dashboard; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings $PYTHON ../manage.py compilemessages)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user