paul cannon <p...@debian.org> writes:

> I've found that I occasionally need to pass arguments with spaces in
> them to pbuilder through git-pbuilder. For example, say I needed to
> create a new cowdancer build environment using the distribution
> components "main" and "contrib" both (so, I would want to pass
> '--components "main contrib"' to pbuilder).

> The way to pass extra arguments to pbuilder through git-pbuilder
> (without using a .pbuilderrc) is with $GIT_PBUILDER_OPTIONS, so I would
> try that:

>     GIT_PBUILDER_OPTIONS='--components "main contrib"' \
>     DIST=sid \
>     BUILDER=cowbuilder \
>         git-pbuilder create

Incidentally, I should probably mention that this example is overly
complex, since for commands like create git-pbuilder passes the arguments
to the builder.  So you can just say:

DIST=sid BUILDER=cowbuilder git-pbuilder create --components 'main contrib'

But the same problem does come up in other ways, so the patch is still
worthwhile.

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>


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

Reply via email to