Bug#646514: javahelper: jh_repack fails if folders *.jar exist

Andrew Ross andrew at rossfamily.co.uk
Tue Oct 25 21:48:13 UTC 2011


On 25/10/11 08:47, Matthew Johnson wrote:
> On Mon Oct 24 18:46, Andrew Ross wrote:
>> If a package contains folders whose names match *.jar then jh_repack 
>> fails with messages like:
>>
>> rm: cannot remove `./branding/core/core.jar': Is a directory
>>
>> The find command should probably be changed to:
>> find . -name '*.jar' -type f -print0 | xargs -0 rm -f
> I was.... not expecting anyone to have directories named like that. 
>
> Fair enough, that seems like a sensible change.
>
> Matt
No, neither was I - it surprised me when I found it! I've tried the
change locally and it appears to be OK.

Thanks,
Andy





More information about the pkg-java-maintainers mailing list