diff --git a/bin/run_xgettext.sh b/bin/run_xgettext.sh index 06fa7204af..a2a7408dd1 100755 --- a/bin/run_xgettext.sh +++ b/bin/run_xgettext.sh @@ -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}")