mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
docs: Temporarily allow cmake docs to be in English only
This commit is contained in:
parent
99e02d4e42
commit
d5a5897140
@ -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:"
|
||||
|
Loading…
Reference in New Issue
Block a user