Source: mini-buildd
Severity: wishlist

Hi,

mini-buildd generates log lines like:

Aug 31 19:17:21 spinturn mini_buildd.builder          (0207): INFO
: hello-debhelper_2.9.1~zgSID+1:amd64: Running sbuild: sbuild
--dist=sid-zg-unstable --arch=amd64 --chroot=mini-buildd-sid-amd64
--chroot-setup-command=cp
/var/lib/mini-buildd/var/spool/4067918a514d15e1802dbf04a553e75c8aab7f38/apt_sources.list
/etc/apt/sources.list --chroot-setup-command=cat /etc/apt/sources.list
--chroot-setup-command=cp
/var/lib/mini-buildd/var/spool/4067918a514d15e1802dbf04a553e75c8aab7f38/apt_preferences
/etc/apt/preferences --chroot-setup-command=cat /etc/apt/preferences
--chroot-setup-command=apt-key add
/var/lib/mini-buildd/var/spool/4067918a514d15e1802dbf04a553e75c8aab7f38/apt_keys
--chroot-setup-command=apt-get --option=Acquire::Languages=none update
--chroot-setup-command=/var/lib/mini-buildd/var/spool/4067918a514d15e1802dbf04a553e75c8aab7f38/chroot_setup_script
--chroot-setup-command=rm -v -f /etc/sudoers
--chroot-setup-command=touch /etc/sudoers
--chroot-setup-command=apt-cache policy --build-dep-resolver=aptitude
--keyid=D32AADD659A43829 --nolog --log-external-command-output
--log-external-command-error --arch-all --run-lintian
--lintian-opts=--suppress-tags=bad-distribution-in-changes-file
--lintian-opts=--info hello-debhelper_2.9.1~zgSID+1.dsc

It would be great if those command lines would be properly quoted, so
that they can be copied from the log to a shell for execution. I think
this mainly concerns the --chroot-setup-command options that should
probably be like

--chroot-setup-command="apt-key add 
/var/lib/mini-buildd/var/spool/4067918a514d15e1802dbf04a553e75c8aab7f38/apt_keys"

Greetings
Marc

Reply via email to