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

Re: [lintian] 02/02: Fix clean rule of legacy-binary in order to improve debugging



On Thu, Aug 6, 2015 at 10:59 AM, Jakub Wilk <jwilk@debian.org> wrote:
> * Bastien ROUCARIES <broucaries-guest@moszumanska.debian.org>, 2015-08-06,
> 08:53:
>>
>> -       rm -f debian/files debian/substvars
>> +       [ ! -f debian/files ] || rm -f debian/files
>> +       [ ! -f debian/substvars ] || rm -f debian/substvars
>
>
> Why the extra tests? "rm -f" already ignores non-existent files.

Old habits for some strange unix ....


> --
> Jakub Wilk
>
>
> --
> To UNSUBSCRIBE, email to debian-lint-maint-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> Archive: [🔎] 20150806085933.GA7520@jwilk.net">https://lists.debian.org/[🔎] 20150806085933.GA7520@jwilk.net
>


Reply to: