summaryrefslogtreecommitdiff
path: root/scripts/gendiff
diff options
context:
space:
mode:
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 5970c02b3..d9b0c2148 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 | sort
+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}"