[Mageia-dev] [soft-commits] [3193] Add missing backported commit
Pascal Terjan
pterjan at gmail.com
Mon Mar 5 17:06:10 CET 2012
On Mon, Mar 5, 2012 at 16:03, Thierry Vignaud <thierry.vignaud at gmail.com> wrote:
> On 5 March 2012 16:35, <root at mageia.org> wrote:
>> +2011-04-16 Funda Wang <fwang at mandriva.org> 0.31.5
>> + * remove empty dirs for perl modules
>> +
>> 2010-11-22 Funda Wang <fwang at mandriva.org> 0.31.4
>> * xz 5.0 do not support '--text' option now.
>>
>>
>> Modified: rpm/spec-helper/trunk/clean_perl
>> ===================================================================
>> --- rpm/spec-helper/trunk/clean_perl 2012-03-05 15:16:42 UTC (rev 3192)
>> +++ rpm/spec-helper/trunk/clean_perl 2012-03-05 15:35:37 UTC (rev 3193)
>> @@ -16,3 +16,5 @@
>> rm -f $i
>> fi
>> done
>> +
>> +find $d -depth -type d -exec rmdir {} 2>/dev/null \;
>
> uh? no -empty ?
it will work as rmdir will complain and errors are hidden, but yes
this is ugly :)
More information about the Mageia-dev
mailing list