Skip to content

Commit

Permalink
scripts/deploy.sh: simplify grep command to detect odd spaces in json…
Browse files Browse the repository at this point in the history
… files by suggestion from @yo3fxy
  • Loading branch information
ia committed Feb 1, 2025
1 parent 664ff73 commit ac46806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ build_langs()
return 1
fi;

grep -nH -e "^ [^ ]" -e "^ [^ ]" -e "^ [^ ]" -e "^ [^ ]" -e "^ [^ ]" -e "^ [^ ]" Translations/translation*.json
grep -nEH -e "^( {1}| {3}| {5}| {7}| {9}| {11})[^ ]" Translations/translation*.json
ret="${?}"
if [ "${ret}" -eq 0 ]; then
echo -ne "\t^^^^\t^^^^\n"
Expand Down

0 comments on commit ac46806

Please sign in to comment.