diff --git a/devstack/plugin.sh b/devstack/plugin.sh index c9f4b79..52294fd 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -1,25 +1,25 @@ # plugin.sh - DevStack plugin.sh dispatch script zun-ui -HIGGINS_UI_DIR=$(cd $(dirname $BASH_SOURCE)/.. && pwd) +ZUN_UI_DIR=$(cd $(dirname $BASH_SOURCE)/.. && pwd) function install_zun_ui { # NOTE(shu-mutou): workaround for devstack bug: 1540328 # where devstack install 'test-requirements' but should not do it # for zun-ui project as it installs Horizon from url. # Remove following two 'mv' commands when mentioned bug is fixed. - mv $HIGGINS_UI_DIR/test-requirements.txt $HIGGINS_UI_DIR/_test-requirements.txt + mv $ZUN_UI_DIR/test-requirements.txt $ZUN_UI_DIR/_test-requirements.txt - setup_develop ${HIGGINS_UI_DIR} + setup_develop ${ZUN_UI_DIR} - mv $HIGGINS_UI_DIR/_test-requirements.txt $HIGGINS_UI_DIR/test-requirements.txt + mv $ZUN_UI_DIR/_test-requirements.txt $ZUN_UI_DIR/test-requirements.txt } function configure_zun_ui { - cp -a ${HIGGINS_UI_DIR}/zun_ui/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/ + cp -a ${ZUN_UI_DIR}/zun_ui/enabled/* ${DEST}/horizon/openstack_dashboard/local/enabled/ # NOTE: If locale directory does not exist, compilemessages will fail, # so check for an existence of locale directory is required. - if [ -d ${HIGGINS_UI_DIR}/zun_ui/locale ]; then - (cd ${HIGGINS_UI_DIR}/zun_ui; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages) + if [ -d ${ZUN_UI_DIR}/zun_ui/locale ]; then + (cd ${ZUN_UI_DIR}/zun_ui; DJANGO_SETTINGS_MODULE=openstack_dashboard.settings ../manage.py compilemessages) fi }