Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2018 20:02:45 +0100
From:      Bob Eager <rde@tavi.co.uk>
To:        freebsd-ports@freebsd.org
Subject:   Re: Delete a port
Message-ID:  <20180804200245.61582437@raksha.tavi.co.uk>
In-Reply-To: <CAF6rxgnN_DcRerExsaBhvU7LQuSDa1nDha7Li4mPL5FoCO%2BnNQ@mail.gmail.com>
References:  <a48a6cd2-e088-618a-61e6-909f71ce8ba5@fechner.net> <20180804140317.GA22029@blogreen.org> <5B65B4FB.70103@grosbein.net> <30EF106C-0794-4A24-918E-FE3132F8A632@bayofrum.net> <CAF6rxgnN_DcRerExsaBhvU7LQuSDa1nDha7Li4mPL5FoCO%2BnNQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 4 Aug 2018 10:42:36 -0700
Eitan Adler <lists@eitanadler.com> wrote:

> On Sat, 4 Aug 2018 at 08:13, Chris Rees <crees@bayofrum.net> wrote:
> >
> > Hey,
> >
> > On 4 August 2018 15:15:23 BST, Eugene Grosbein <eugen@grosbein.net>
> > wrote: =20
> > >04.08.2018 21:03, Romain Tarti=E8re wrote:
> > > =20
> > >> On Sat, Aug 04, 2018 at 12:28:41PM +0200, Matthias Fechner
> > >> wrote: =20
> > >>> ./rmport: svnlog: not found
> > >>>
> > >>> Anyone an idea what is wrong? =20
> > >>
> > >> Never used this script, but I guess you are hitting line 390:
> > >>
> > >> |         $EDITOR svnlog
> > >>
> > >> Any chance $EDITOR is not set? =20
> > >
> > >It seems, rmport script needs a patch:
> > >
> > >Index: Tools/scripts/rmport
> > >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > >--- Tools/scripts/rmport        (revision 476322)
> > >+++ Tools/scripts/rmport        (working copy)
> > >@@ -39,6 +39,7 @@
> > > # MAINTAINER=3D  crees@FreeBSD.org
> > > #
> > >
> > >+EDITOR=3D${EDITOR:-vi}
> > > PORTSDIR=3D${PORTSDIR:-/usr/ports}
> > > INDEX=3D${PORTSDIR}/`make -C ${PORTSDIR} -V INDEXFILE` =20
> >
> > Thanks both.
> >
> > Feel free to commit, but please use the  absolute path to vi? =20
>=20
> Why? Would't one want to respect the user's preference when it comes
> to an editor? This preference is implicit when it comes to PATH.
>=20
>=20

This simply adds vi as a default; it doesn't force it to be used.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180804200245.61582437>