2012/7/14 Dirk Eddelbuettel <e...@debian.org>:
> We could also use substr(..., 1, 3) as in
> R> substr( Sys.info()["machine"], 1, 3)
> machine
>   "x86"
> R> substr( Sys.info()["machine"], 1, 3) == "arm"
> machine
>   FALSE
> R>

I got this on the failing machine, so at least this simple match is performed:
> substr( Sys.info()["machine"], 1, 3) == "arm"
machine
   TRUE

> Maybe that last one is best?

I think this is preferable, as I'm not sure "armv7l" and "armv5tel"
are the only machine strings we can expect from buildds.



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to