Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2014 18:30:57 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266976 - head/usr.bin/calendar
Message-ID:  <201406021830.s52IUvaR055630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Mon Jun  2 18:30:57 2014
New Revision: 266976
URL: http://svnweb.freebsd.org/changeset/base/266976

Log:
  Remove extraneous "mkdir -p"
  
  The directory hierarchy is created by an mtree file (BSD.usr.dist,
  in the case of calendar(1)).  An explicit "mkdir -p" in a program's
  Makefile is redundant, and can mask a missing mtree entry.

Modified:
  head/usr.bin/calendar/Makefile

Modified: head/usr.bin/calendar/Makefile
==============================================================================
--- head/usr.bin/calendar/Makefile	Mon Jun  2 18:02:10 2014	(r266975)
+++ head/usr.bin/calendar/Makefile	Mon Jun  2 18:30:57 2014	(r266976)
@@ -19,7 +19,6 @@ beforeinstall:
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
 	    ${.CURDIR}/calendars/calendar.* ${DESTDIR}${SHAREDIR}/calendar
 .for lang in ${INTER}
-	mkdir -p ${DESTDIR}${SHAREDIR}/calendar/${lang}
 	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${TEXTMODE} \
 		${.CURDIR}/calendars/${lang}/calendar.* \
 		${DESTDIR}${SHAREDIR}/calendar/${lang} 



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