diff options
-rw-r--r-- | pkgtools/pkgdiff/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkgdiff/files/pkgdiff | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile index 1fb2077973e..cc2e1340945 100644 --- a/pkgtools/pkgdiff/Makefile +++ b/pkgtools/pkgdiff/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2000/07/01 02:38:55 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2000/08/15 14:35:22 abs Exp $ # -DISTNAME= pkgdiff-0.91 +DISTNAME= pkgdiff-0.92 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkgdiff/files/pkgdiff b/pkgtools/pkgdiff/files/pkgdiff index 27c1ab98ff7..5e283b0a124 100755 --- a/pkgtools/pkgdiff/files/pkgdiff +++ b/pkgtools/pkgdiff/files/pkgdiff @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: pkgdiff,v 1.2 2000/07/01 02:38:56 wiz Exp $ +# $NetBSD: pkgdiff,v 1.3 2000/08/15 14:35:23 abs Exp $ # # Id: pkgdiff,v 1.4 2000/05/14 01:04:54 feyrer Exp feyrer # @@ -33,5 +33,7 @@ if ! diff -qu -$lines "$@" > /dev/null then echo '$'NetBSD'$' echo '' - diff -u -$lines "$@" + # Strip out the date on the +++ line to reduce needless + # differences in regenerated patches + diff -u -$lines "$@" | sed -e 's:^\(+++ [^ ]*\) .*:\1:' fi |