diff options
author | jlam <jlam> | 2001-01-18 15:40:23 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-01-18 15:40:23 +0000 |
commit | 475121dd0fd96acd5339842b654111930ce0052a (patch) | |
tree | 2cd7c511c4e4f124f49d99b5665caf148d23286e /pkgtools/pkgdiff | |
parent | 2e99d934c793399d3ca612498eec0d67ed2624de (diff) | |
download | pkgsrc-475121dd0fd96acd5339842b654111930ce0052a.tar.gz |
exec with $editor, not $EDITOR. pkgvi now actually works as advertised.
Diffstat (limited to 'pkgtools/pkgdiff')
-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 |