diff options
author | abs <abs> | 2000-08-15 14:35:22 +0000 |
---|---|---|
committer | abs <abs> | 2000-08-15 14:35:22 +0000 |
commit | 510845041ffc8c56f1f8f135b8261d141bf371f4 (patch) | |
tree | f4d21af5562a46c6c3820170ce90c95f3fb278cf /pkgtools | |
parent | 8ce941357c884bfcac6daa4a89bb6de6babc4f80 (diff) | |
download | pkgsrc-510845041ffc8c56f1f8f135b8261d141bf371f4.tar.gz |
Remove date from +++ lines in patch - removes needless differences when
patches are regenerated. Update to 0.92
Diffstat (limited to 'pkgtools')
-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 |