From 7eaa5d7727e539fb581850190ba9673e757bbcce Mon Sep 17 00:00:00 2001 From: Philipp Date: Sat, 10 Apr 2021 13:59:06 +0200 Subject: [PATCH] Add sort command --- bin/run_xgettext.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/run_xgettext.sh b/bin/run_xgettext.sh index 06fa7204a..a2a7408dd 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}")