[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK
From: |
Mike Frysinger |
Subject: |
bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK |
Date: |
Mon, 13 Dec 2021 21:04:49 -0500 |
On 11 Dec 2021 23:19, Moritz Klammler wrote:
> An alternative trick which I have used in my code and found much less
> disturbing is to prepend an arbitrary, hopefully non-existent, file name
> so the list of arguments will never be empty even if the variable is.
>
> rm -f NOTFOUND $(VAR)
i think this is an interesting route. we could do:
rm -f $(am__rm_f_notfound) ...
and am__rm_f_notfound could be set based on the configure test.
am__rm_f_notfound = WORKAROUND_RM_F_BUG
that way most people won't see any noise.
-mike
signature.asc
Description: PGP signature
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Mike Frysinger, 2021/12/10
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Peter Johansson, 2021/12/10
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Mike Frysinger, 2021/12/11
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Peter Johansson, 2021/12/11
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Karl Berry, 2021/12/11
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Moritz Klammler, 2021/12/11
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK,
Mike Frysinger <=
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Karl Berry, 2021/12/15
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Mike Frysinger, 2021/12/15
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Karl Berry, 2021/12/16
- bug#10828: [RFC] POSIX will say running "rm -f" with no argument is OK, Karl Berry, 2021/12/11