[Pkg-bazaar-maint] Bug#463349: Bug#463349: updated patch

James Westby jw+debian at jameswestby.net
Sat Feb 2 11:35:47 UTC 2008


On Thu, 2008-01-31 at 16:23 -0500, Mark A. Hershberger wrote:
> After a few more packages last night, I have a new patch.  My old patch
> didn't handle the (common) case of a single top-level directory in the
> tarball.

Hi Mark,

Thanks for the bug and patch. It appears that you are not using the
version that fixed #440069, do you think that the fix for that applies
here? The fix was in 0.91, and the code currently looks like

      files = glob.glob(tempdir+'/*')
      os.makedirs(source_dir)
      if len(files) == 1:
        shutil.move(files[0], source_dir)
        shutil.rmtree(tempdir)
      else:
        shutil.move(tempdir, source_dir)
      if not upstream:
        shutil.copy(tarball, build_dir)

If you give me the name of the problematic package (if it is in the
archives), or the location of your branch, then I will investigate
this myself and come up with a fix for both this and the old problem.

Thanks,

James







More information about the Pkg-bazaar-maint mailing list