From 1d3b8dc83aa4e8997afb0d56c2c020426683769f Mon Sep 17 00:00:00 2001 From: KATO Tomoyuki Date: Sat, 28 May 2016 13:32:46 +0900 Subject: [PATCH] Remove common directory switcher Since we finished common directory migration from common-rst to common, this patch removes common directory switcher, that is merged at the change I7ba517136807513f982e66010906b97621f844fc, to migrate common directory for rst files from common-rst to common. Change-Id: I40aac8ec2d497d83b41048b2576a3a0ab04c8a93 --- bin/doc-tools-check-languages | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/doc-tools-check-languages b/bin/doc-tools-check-languages index c029b867..7fc1ab5e 100755 --- a/bin/doc-tools-check-languages +++ b/bin/doc-tools-check-languages @@ -32,12 +32,7 @@ function build_rst { TAG="-t obs -t rdo -t ubuntu -t debian" fi - # Use "common" directory as common if exists while migration - if [[ -e ${DOC_DIR}common/conventions.rst ]] ; then - COMMON="common" - else - COMMON="common-rst" - fi + COMMON="common" LOCALE_DIR="${DOC_DIR}${book}/source/locale/" COMMON_DIR="${DOC_DIR}${COMMON}/source/locale/" @@ -45,7 +40,7 @@ function build_rst { ${DOC_DIR}${book}/source/ ${LOCALE_DIR}" - # Merge the common-rst po file in + # Merge the common po file if [[ -e ${COMMON_DIR}${language}/LC_MESSAGES/${COMMON}.po ]] ; then msgcat --use-first -o ${LOCALE_DIR}${language}/${book}.po \ ${LOCALE_DIR}${language}/LC_MESSAGES/${book}.po \