summaryrefslogtreecommitdiff
path: root/scripts
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
parentd718b12f5bf5b94c418b8235e45625cbccca6220 (diff)
downloadlibrpm-tizen-ee6b38a9d11b8737f692aa5f954ac198bf4c46f1.tar.gz
librpm-tizen-ee6b38a9d11b8737f692aa5f954ac198bf4c46f1.tar.bz2
librpm-tizen-ee6b38a9d11b8737f692aa5f954ac198bf4c46f1.zip
make gendiff sort the file list, so comparing the results is easier.
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}"