Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2017 01:21:36 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325084 - head/share/mk
Message-ID:  <201710290121.v9T1Laux068484@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Oct 29 01:21:36 2017
New Revision: 325084
URL: https://svnweb.freebsd.org/changeset/base/325084

Log:
  AUTO_OBJ: auto.obj.mk mkdir -p simplification
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/local.sys.env.mk

Modified: head/share/mk/local.sys.env.mk
==============================================================================
--- head/share/mk/local.sys.env.mk	Sun Oct 29 01:21:33 2017	(r325083)
+++ head/share/mk/local.sys.env.mk	Sun Oct 29 01:21:36 2017	(r325084)
@@ -40,4 +40,8 @@ TIME_STAMP = ${TIME_STAMP_FMT:localtime}
 TIME_STAMP_DATE = `date '+${TIME_STAMP_FMT}'`
 TIME_STAMP_END?= ${TIME_STAMP_DATE}
 
+# Simplify auto.obj.mk mkdir -p handling and avoid unneeded/redundant
+# error spam and show a proper error.
+Mkdirs= Mkdirs() { mkdir -p $$* || :; }
+
 .include "src.sys.env.mk"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710290121.v9T1Laux068484>