diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2018-08-04 16:29:31 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2018-08-04 16:29:31 +0000 |
commit | dfa53b230810063683c2c6aedc4b08b0b87ec0c4 (patch) | |
tree | 927ba9197c9d9b004d7d5e5e1364ddce564966b5 /Tools | |
parent | 9722c50a19fc91e83f3c706deb1e81b201a8c337 (diff) | |
download | ports-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-x | Tools/scripts/rmport | 1 |
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` |