Re: new debootstrap NMU for testing
Richard Hirst <email@example.com> writes:
> smallyes '' | repeat 5 in_target_msg "unpacking required packages. This will be attempted 5 times." dpkg --force-depends --unpack $(debfor $required)
> that msg with the spaces is protected by quotes so it appears as $1 to
> repeat(), but it isn't protected when repeat() passes it to
> in_target_msg(). I changed the string to
> "\"unpacking required packages. This will be attempted 5 times.\""
> and that worked. Needed in the two places that use repeat 5 in_target_msg.
Argh! Thanks for finding it. I'll fix it now.
Can I say that shell quoting is the bane of my existance?
> btw, I test debootstrap with the following, which tests the relevant code
> debootstrap --boot-floppies --arch ia64 sid ./target file:/mirror/debian 3>&2
...Adam Di Carlo..<firstname.lastname@example.org>...<URL:http://www.onshored.com/>