diff options
author | seb <seb@pkgsrc.org> | 2002-04-02 10:56:47 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2002-04-02 10:56:47 +0000 |
commit | 60ce5372b04226a6df6482c39c51b49b5cc8d617 (patch) | |
tree | 060c48a82c42623cf1fc776bbb212609a1aa55e7 /pkgtools | |
parent | d64334720f10e30ba6ce5714604298f106477059 (diff) | |
download | pkgsrc-60ce5372b04226a6df6482c39c51b49b5cc8d617.tar.gz |
Use basename in dodiff() so `pkgdiff /path/to/configure' works as expected.
Bump to 0.105
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkgdiff/Makefile | 4 | ||||
-rwxr-xr-x | pkgtools/pkgdiff/files/pkgdiff | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile index 7d99c73ca40..1da0ca8ddc2 100644 --- a/pkgtools/pkgdiff/Makefile +++ b/pkgtools/pkgdiff/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2002/03/10 22:04:01 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2002/04/02 10:56:47 seb Exp $ # -DISTNAME= pkgdiff-0.104 +DISTNAME= pkgdiff-0.105 CATEGORIES= pkgtools devel MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkgdiff/files/pkgdiff b/pkgtools/pkgdiff/files/pkgdiff index 3943b43fcdc..c014ecc2afe 100755 --- a/pkgtools/pkgdiff/files/pkgdiff +++ b/pkgtools/pkgdiff/files/pkgdiff @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: pkgdiff,v 1.6 2002/03/10 22:04:02 wiz Exp $ +# $NetBSD: pkgdiff,v 1.7 2002/04/02 10:56:48 seb Exp $ # # Usage: pkgdiff newfile # pkgdiff oldfile newfile @@ -28,7 +28,7 @@ else fi dodiff() { - case x$new in + case x"`basename $new`" in xconfigure) @DIFF@ -I '\(echo .*as_me:[0-9]+:\|echo .*configure:[0-9]+:\|line [0-9]+ \"configure\)' $* ;; |