diff options
author | jbj <devnull@localhost> | 2000-12-16 19:00:30 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2000-12-16 19:00:30 +0000 |
commit | f7c8cb86898a47f396a7f3ee0d5fcba1de328a56 (patch) | |
tree | e9af530872b79d688f9492579ab4f453b217d45f /gendiff | |
parent | 92c9e1fc77e3b8dd523bc34323bf377b719e94b5 (diff) | |
download | rpm-f7c8cb86898a47f396a7f3ee0d5fcba1de328a56.tar.gz rpm-f7c8cb86898a47f396a7f3ee0d5fcba1de328a56.tar.bz2 rpm-f7c8cb86898a47f396a7f3ee0d5fcba1de328a56.zip |
- gendiff: generate ChangeLog patches more intelligently (#22356).
CVS patchset: 4348
CVS date: 2000/12/16 19:00:30
Diffstat (limited to 'gendiff')
-rw-r--r-- | gendiff | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -8,5 +8,7 @@ find $1 \( -name "*$2" -o -name ".*$2" \) -print | while read f; do - diff -u $f `echo $f | sed s/$2\$//` + U=-u + [ "${f##*/}" == "ChangeLog$2" ] && U=-U0 + diff ${U} $f `echo $f | sed s/$2\$//` done |