[Scratchbox-users] Option -d doesn't work with stdin startup method

Daniel Bainton dpb at driftaway.org
Thu Jul 10 08:33:41 EEST 2008


2008/7/10 Aras Vaichas <arasv at magtech.com.au>:
> When I use the stdin method for starting scratchbox, it ignores the set
> directory (-d) option.
>
> e.g.
>
> arasv$ scratchbox -d /tmp << 'EOF'
>> pwd
>> EOF
>
> Welcome to Scratchbox, the cross-compilation toolkit!
>
> Use 'sb-menu' to change your compilation target.
> See /scratchbox/doc/ for documentation.
>
> /home/arasv   <--- NOT what I asked!
>
>
> Is this a fault, or is the --help document just a little ambiguous?
>
> Aras

It only works for the command you give on the login line, so commands like:
$ scratchbox -d /tmp pwd
or
$ scratchbox -d /tmp bash
work just fine.

--
Daniel


More information about the Scratchbox-users mailing list