Hello,
On Mon, Mar 23, 2009 at 06:07:02PM +0000, Marcin Owsiany wrote:
> Package: topgit
> Version: 0.7-1
>
> I'm using topgit on an ubuntu gutsy system.
> However upgrading from 0.5-1 brought a nasty surprise:
>
> Exporting TopGit branches to series so that quilt can clean up...
> /usr/bin/make --no-print-directory -f debian/rules tg-export
> # remove all files whose contents matches /^tg:/
> test -n "" && rm || :
> test -f debian/patches/series && rm debian/patches/series || :
> # try to remove directories
> find debian/patches -depth -type d -empty -execdir rmdir {} +
> rmdir: ./patches: No such file or directory
> make[1]: *** [tg-rmdir] Error 1
> make: *** [__tg-temp-export] Error 2
>
> It turns out that find -execdir is broken in gutsy and etch at least.
> The following does not work:
>
> $ mkdir a
> $ mkdir a/b
> $ find a/b -depth -type d -empty -execdir rmdir {} +
> rmdir: ./b: No such file or directory
> $
mmh, even Lenny's find (findutils 4.4.0-2) doesn't work as advertised:
$ mkdir -p z/a/b z/a/c
$ find z -depth -type d -empty -execdir echo {} +
./c
./b
I would have expected
./c ./b
This does hardly hurt though.
Also
$ find z -execdir echo lala{}lolo +
./z
./a
./c
./b
is surprising.
Does it help you to used -exec instead of -execdir?
I'm still a bit undecided if I should care for pre-Lenny.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]