]> granicus.if.org Git - esp-idf/commitdiff
docs: Temporarily allow cmake docs to be in English only
authorAngus Gratton <angus@espressif.com>
Fri, 27 Apr 2018 01:17:23 +0000 (11:17 +1000)
committerAngus Gratton <gus@projectgus.com>
Mon, 30 Apr 2018 00:18:33 +0000 (10:18 +1000)
docs/check_lang_folder_sync.sh

index 96de9994cbf7a3eca529e7dfd57244ea168dd648..5840bea2add8dbdc4ba29da50e7af1a7aa2a9dbc 100755 (executable)
@@ -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:"