File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,11 @@ for WORD in $(awk '/LSTR/{print $2}' language_en.h); do
71
71
# Find all selected languages that lack the string
72
72
LANG_MISSING=" "
73
73
for LANG in $TEST_LANGS ; do
74
- if [[ $( grep -c -E " ^ *LSTR +$WORD \b" language_${LANG} .h) -eq 0 ]]; then
74
+ if [[ $( grep -c -E " ^ *LSTR +$WORD \b" language_${LANG} .h 2> /dev/null ) -eq 0 ]]; then
75
75
INHERIT=$( awk ' /using namespace/{print $3}' language_${LANG} .h | sed -E ' s/Language_([a-zA-Z_]+)\s*;/\1/' )
76
76
if [[ -z $INHERIT || $INHERIT == " en" ]]; then
77
77
LANG_MISSING+=" $LANG "
78
- elif [[ $( grep -c -E " ^ *LSTR +$WORD \b" language_${INHERIT} .h) -eq 0 ]]; then
78
+ elif [[ $( grep -c -E " ^ *LSTR +$WORD \b" language_${INHERIT} .h 2> /dev/null ) -eq 0 ]]; then
79
79
LANG_MISSING+=" $LANG "
80
80
fi
81
81
fi
You can’t perform that action at this time.
0 commit comments