summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-03-16 13:11:41 +0000
committerwiz <wiz@pkgsrc.org>2001-03-16 13:11:41 +0000
commit96eabdba05ab45caa3c90fc63c2d0626407aabe1 (patch)
tree8ede917afe886b0c8af2f2f387a897e67f77430e /pkgtools
parentdf7a79b66de588d88351c00d70945c5683e5fa56 (diff)
downloadpkgsrc-96eabdba05ab45caa3c90fc63c2d0626407aabe1.tar.gz
pkgvi: fix cmp output redirection, remove some more backup files created
by emacs. Bump version to 0.97.
Diffstat (limited to 'pkgtools')
-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