Add sort command
authorPhilipp <admin@philipp.info>
Sat, 10 Apr 2021 11:59:06 +0000 (13:59 +0200)
committerPhilipp <admin@philipp.info>
Sat, 10 Apr 2021 18:07:28 +0000 (20:07 +0200)
bin/run_xgettext.sh

index 06fa720..a2a7408 100755 (executable)
@@ -61,7 +61,7 @@ KEYWORDS="-k -kt -ktt:1,2"
 echo "Extract strings to $OUTFILE.."
 rm "$OUTFILE"; touch "$OUTFILE"
 
-find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f)
+find_result=$(find "$FINDSTARTDIR" $FINDOPTS -name "*.php" -type f | sort)
 
 total_files=$(wc -l <<< "${find_result}")