Re: new debootstrap NMU for testing
Richard Hirst <rhirst@linuxcare.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
> paths:
>
> debootstrap --boot-floppies --arch ia64 sid ./target file:/mirror/debian 3>&2
Good idea.
--
...Adam Di Carlo..<adam@onshore-devel.com>...<URL:http://www.onshored.com/>
Reply to: