summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gendiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gendiff b/scripts/gendiff
index 342d3aa7a..5970c02b3 100644
--- a/scripts/gendiff
+++ b/scripts/gendiff
@@ -10,7 +10,7 @@
: ${GENDIFF_DIFF_ARGS:=-up}
: ${GENDIFF_DIFF_CHANGELOG_ARGS:=-U0}
-find $1 \( -name "*$2" -o -name ".*$2" \) -print |
+find $1 \( -name "*$2" -o -name ".*$2" \) -print | sort
while read f; do
U="${GENDIFF_DIFF_ARGS}"
[ "`basename $f`" = "ChangeLog$2" ] && U="${GENDIFF_DIFF_CHANGELOG_ARGS}"