Sort file list for xgettext

The find command still returns files in arbitrary order, so explicitly sort.
This commit is contained in:
Simon Richter 2018-05-25 15:27:45 +02:00 committed by nickoe
parent 9ab216cb09
commit ae729cd565
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ cd $SOURCEDIR
#Generate/update template pot file
find $POTDIRS -name '*.cpp' -or -name '*.h' |
sort |
xgettext -f- -k_ -k_HKI -kwxPLURAL:1,2 --force-po --from-code utf-8 -o $LOCALDIR/kicad.pot
#check if present in locale list