summaryrefslogtreecommitdiff
path: root/scripts/gendiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-02-08 14:54:29 -0500
committerPeter Jones <pjones@redhat.com>2008-02-08 14:54:29 -0500
commitee6b38a9d11b8737f692aa5f954ac198bf4c46f1 (patch)
tree4ead942b14f4e6ead277c3661272a1685d09e78a /scripts/gendiff
parentd718b12f5bf5b94c418b8235e45625cbccca6220 (diff)
downloadrpm-ee6b38a9d11b8737f692aa5f954ac198bf4c46f1.tar.gz
rpm-ee6b38a9d11b8737f692aa5f954ac198bf4c46f1.tar.bz2
rpm-ee6b38a9d11b8737f692aa5f954ac198bf4c46f1.zip
make gendiff sort the file list, so comparing the results is easier.
Diffstat (limited to 'scripts/gendiff')
-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}"