[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#230434: new tar breaks dpkg-deb



Package: dpkg
Version: 1.10.18
Severity: grave

looks like the new tar removes the leading ./ from file names so
./DEBIAN/* files get included in the package (the new tar package
is actually an example of this). i think the fix is simply to change
line 469 in dpkg-deb/build.c from:

execlp(FIND,"find",".","-path","./" BUILDCONTROLDIR,"-prune","-o","-print0",(char*)0);

to:

execlp(FIND,"find",".","-path",BUILDCONTROLDIR,"-prune","-o","-print0",(char*)0);

i.e. remove the (now) unnecessary ./

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux caliban 2.6.2-rc2 #180 Mon Jan 26 11:35:25 PST 2004 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dpkg depends on:
ii  dselect                     1.10.18      a user tool to manage Debian packa
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an

-- no debconf information




Reply to: