From 7ab90cb9372e004eb76b636cf359a32544768e3f Mon Sep 17 00:00:00 2001 From: bhavani Date: Thu, 9 Mar 2017 11:26:53 +0530 Subject: [PATCH] Update higgins with zun Updated the old name of higgins with new name zun. Change-Id: I3535a54bd3d77d9591d6f0dee8ad67acca89178a --- devstack/plugin.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 }