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
This commit is contained in:
parent
329e410bfd
commit
1d3b8dc83a
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue