diff options
author | jlam <jlam@pkgsrc.org> | 2001-01-18 15:40:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-01-18 15:40:23 +0000 |
commit | 2b905afd72dd75cd66dd56540f3772f64ec024ee (patch) | |
tree | 2cd7c511c4e4f124f49d99b5665caf148d23286e /pkgtools | |
parent | 0175ca94f0fd8f908063aea1c002b9c0850bad11 (diff) | |
download | pkgsrc-2b905afd72dd75cd66dd56540f3772f64ec024ee.tar.gz |
exec with $editor, not $EDITOR. pkgvi now actually works as advertised.
Diffstat (limited to 'pkgtools')
-rwxr-xr-x | pkgtools/pkgdiff/files/pkgvi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkgdiff/files/pkgvi b/pkgtools/pkgdiff/files/pkgvi index 6523078a2ea..d699ec848c2 100755 --- a/pkgtools/pkgdiff/files/pkgvi +++ b/pkgtools/pkgdiff/files/pkgvi @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: pkgvi,v 1.1 2001/01/17 23:16:46 hubertf Exp $ +# $NetBSD: pkgvi,v 1.2 2001/01/18 15:40:23 jlam Exp $ # # Copyright (c) 2001 Tomasz Luchowski. All rights reserved. # @@ -71,7 +71,7 @@ fi if [ -f $file.orig ] then - $EDITOR $file + $editor $file echo "$progname: Backup already exists, for a diff type:" echo "pkgdiff $file" exit 0 @@ -81,7 +81,7 @@ tmp="$file.$$" cp $file $tmp -$EDITOR $tmp +$editor $tmp if cmp $file $tmp 2>&1 >/dev/null then |