From d5a58971402a5bebe126a809544304b2f385f36d Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Fri, 27 Apr 2018 11:17:23 +1000 Subject: [PATCH] docs: Temporarily allow cmake docs to be in English only --- docs/check_lang_folder_sync.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/check_lang_folder_sync.sh b/docs/check_lang_folder_sync.sh index 96de9994c..5840bea2a 100755 --- a/docs/check_lang_folder_sync.sh +++ b/docs/check_lang_folder_sync.sh @@ -20,7 +20,8 @@ find zh_CN -type f | cut -d/ -f2- | sort > file_list_zh_CN # format is to display new or different filenames DIFF_FORMAT="--unchanged-line-format= --old-line-format=[en]:%L --new-line-format=[zh_CN]:%L" -FOLDER_DIFFERENCES=$(diff $DIFF_FORMAT file_list_en file_list_zh_CN) +# TEMPORARY MODIFICATION: -cmake docs are English-only for now +FOLDER_DIFFERENCES=$(diff $DIFF_FORMAT file_list_en file_list_zh_CN | grep -v "cmake") if ! [ -z "$FOLDER_DIFFERENCES" ]; then echo "$STARS" echo "Build failed due to the following differences in 'en' and 'zh_CN' folders:"