Re: problem understanding install.md and the shell in general [SOLVED]

2010-04-28 Thread Toni Mueller
Hi, thanks to all who pointed out that this was a classical PEBKAC. :| And sorry for the noise. -- Kind regards, --Toni++

Re: problem understanding install.md and the shell in general

2010-04-28 Thread Alexander Hall
On 04/27/10 23:51, Toni Mueller wrote: > If I use the following code instead, no problem occurs: > > [ NCPU -gt 1 ] && ... However that is equivalent to [ "NCPU" -gt 1 ] && ... , which is likely _not_ what you want. :-) /Alexander

Re: problem understanding install.md and the shell in general

2010-04-27 Thread Kenneth R Westerback
On Tue, Apr 27, 2010 at 11:51:28PM +0200, Toni Mueller wrote: > Hi, > > while playing with Nick Bender's auto-install stuff, I hit a problem: > > > In src/distrib/i386/common/install.md, I see this code: > > > > NCPU=$(sysctl -n hw.ncpufound) > > ((NCPU > 1)) && { DEFAULTSETS="bs

problem understanding install.md and the shell in general

2010-04-27 Thread Toni Mueller
Hi, while playing with Nick Bender's auto-install stuff, I hit a problem: In src/distrib/i386/common/install.md, I see this code: NCPU=$(sysctl -n hw.ncpufound) ((NCPU > 1)) && { DEFAULTSETS="bsd bsd.rd bsd.mp" ; SANESETS="bsd bsd.mp" ; } Executing this during insta