> On Fri, Aug 6, 2010 at 2:44 PM, Sandra Kachelmann 
> <s.kachelm...@googlemail.com> wrote:
> > On Fri, Aug 6, 2010 at 1:52 PM, Martin Schweizer
> > <schweizer.mar...@gmail.com> wrote:
> >> Hello Sandra
> >>
> >> I was in a similar situation. I found the following paramters very usefull:
> >>
> >> portmaster -a -d --no-confirm
> >>
> >> -a: Take all installed ports
> >> -d: Delete any dependicies
> >> -no--confirm: Wait not after the check which ports are upgradable
> >>
> >> With the above switch portmaster waits in two case:
> >> 1. If you run in an compile error
> >> 2. If the port is new and will asks you about make config
> >>
> >> I did now three upgrades like above and it worked as expected.
> >
> > Hi Martin
> >
> > Thank you for your answer (and everyone else who replied). This is
> > exactly the reason why I keep going back to portupgrade. Default
> > OPTIONS almost always work for me - if not I go to the ports directory
> > and run make config then let the --batch option of portinstall deal
> > with everything.
> >
> > It would be extremely nice if there would be a --batch option that
> > would act like portupgrade.
>
> Does setting BATCH in the environment not work?

Unfortunately not. I tried:

$ BATCH=yes portmaster -a -d --no-confirm

and like someone else suggested adding BATCH?=yes to /etc/make.conf,
then running:

$ portmaster -a -d --no-confirm

Still asks me to confirm all the options.

Sandra
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to