[Bug 398974] [NEW] path to builder joined using + in pbuilder-dist

Ryan Pavlik abiryan at ryand.net
Mon Jul 13 19:45:02 UTC 2009


Public bug reported:

Binary package hint: ubuntu-dev-tools

On line 257 on the jaunty current version, there is this line:
return self.auth + ' /usr/sbin/' + self.builder + ' ' + ' '.join(arguments)

which should be
return self.auth + ' ' + os.path.join('/usr/sbin/', self.builder) + ' ' + ' '.join(arguments)
or even better,

from commands import getoutput
return self.auth + ' ' + getoutput('which ' + self.builder) + ' ' + ' '.join(arguments)

since earlier (in __init__) the whole path is searched for the builder.
(Mind you, the python code does "which" manually, replacing that is
covered in Bug #398972

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
path to builder joined using + in pbuilder-dist
https://bugs.launchpad.net/bugs/398974
You received this bug notification because you are a member of MOTU,
which is subscribed to ubuntu-dev-tools in ubuntu.




More information about the universe-bugs mailing list