summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff
diff options
context:
space:
mode:
authorwiz <wiz>2001-03-16 13:11:41 +0000
committerwiz <wiz>2001-03-16 13:11:41 +0000
commit8c6c968334b5194b22cc1a46554047ddf261062c (patch)
tree8ede917afe886b0c8af2f2f387a897e67f77430e /pkgtools/pkgdiff
parentdefe2930981e9aff5b33f02b040e4b8b1d1829dc (diff)
downloadpkgsrc-8c6c968334b5194b22cc1a46554047ddf261062c.tar.gz
pkgvi: fix cmp output redirection, remove some more backup files created
by emacs. Bump version to 0.97.
Diffstat (limited to 'pkgtools/pkgdiff')
-rw-r--r--pkgtools/pkgdiff/Makefile4
-rwxr-xr-xpkgtools/pkgdiff/files/pkgvi9
2 files changed, 9 insertions, 4 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 8570e9c37bd..cf712326d32 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2001/02/28 10:33:53 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2001/03/16 13:11:41 wiz Exp $
#
-DISTNAME= pkgdiff-0.96
+DISTNAME= pkgdiff-0.97
CATEGORIES= pkgtools devel
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/pkgtools/pkgdiff/files/pkgvi b/pkgtools/pkgdiff/files/pkgvi
index f7cafc092e1..e2bdcf3aeee 100755
--- a/pkgtools/pkgdiff/files/pkgvi
+++ b/pkgtools/pkgdiff/files/pkgvi
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: pkgvi,v 1.5 2001/01/21 15:09:41 hubertf Exp $
+# $NetBSD: pkgvi,v 1.6 2001/03/16 13:11:41 wiz Exp $
#
# Copyright (c) 2001 Tomasz Luchowski. All rights reserved.
#
@@ -74,7 +74,7 @@ fi
$editor "$tmp"
-if cmp "$file" "$tmp" 2>&1 >/dev/null
+if cmp "$file" "$tmp" >/dev/null 2>&1
then
echo "$progname: File unchanged."
else
@@ -88,3 +88,8 @@ if [ -f "$tmp" ]
then
rm "$tmp"
fi
+
+if [ -f "$tmp~" ]
+then
+ rm "$tmp~"
+fi