aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2018-08-04 16:29:31 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2018-08-04 16:29:31 +0000
commitdfa53b230810063683c2c6aedc4b08b0b87ec0c4 (patch)
tree927ba9197c9d9b004d7d5e5e1364ddce564966b5 /Tools
parent9722c50a19fc91e83f3c706deb1e81b201a8c337 (diff)
downloadports-dfa53b230810063683c2c6aedc4b08b0b87ec0c4.tar.gz
ports-dfa53b230810063683c2c6aedc4b08b0b87ec0c4.zip
rmport: provide default for EDITOR varialble to prevent
an error "svnlog: not found" when EDITOR is undefined. Reported by: Matthias Fechner <idefix@fechner.net> Approved by: portmgr (crees)
Notes
Notes: svn path=/head/; revision=476368
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/rmport1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/scripts/rmport b/Tools/scripts/rmport
index 236a386ee540..43ad6b5fb5d1 100755
--- a/Tools/scripts/rmport
+++ b/Tools/scripts/rmport
@@ -39,6 +39,7 @@
# MAINTAINER= crees@FreeBSD.org
#
+EDITOR=${EDITOR:-/usr/bin/vi}
PORTSDIR=${PORTSDIR:-/usr/ports}
INDEX=${PORTSDIR}/`make -C ${PORTSDIR} -V INDEXFILE`