GNU bug report logs - #60776
[PATCH] distdir/emacs: avoid `test -d` with MKDIR_P

Previous Next

Package: automake-patches;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Fri, 13 Jan 2023 09:08:02 UTC

Severity: normal

Tags: patch

Done: Mike Frysinger <vapier <at> gentoo.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Karl Berry <karl <at> freefriends.org>
To: vapier <at> gentoo.org
Cc: 60776 <at> debbugs.gnu.org
Subject: [bug#60776] [PATCH] distdir/emacs: avoid `test -d` with MKDIR_P
Date: Fri, 13 Jan 2023 15:36:33 -0700
    -	test -d "$(distdir)" || mkdir "$(distdir)"
    +	$(AM_V_at)$(MKDIR_P) "$(distdir)"

Ok by me, but why the AM_V_at for this particular command?
I don't see it used anywhere else in distdir.am.

    -	  test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
    +	  $(MKDIR_P) "$$am__dir" || exit 1; \

Sure. Thanks. -k




This bug report was last modified 2 years and 165 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.