Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2012 21:41:50 +0000 (UTC)
From:      Doug Barton <dougb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r236696 - user/dougb/portmaster
Message-ID:  <201206062141.q56LfoD7039955@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dougb
Date: Wed Jun  6 21:41:50 2012
New Revision: 236696
URL: http://svn.freebsd.org/changeset/base/236696

Log:
  Move 'make clean' to the background. There is no point waiting around
  for it to finish. In the case of very large work directories this may
  cause some I/O contention during the unpacking of the next port to
  build, but in most cases this should be lost in the noise.

Modified:
  user/dougb/portmaster/portmaster

Modified: user/dougb/portmaster/portmaster
==============================================================================
--- user/dougb/portmaster/portmaster	Wed Jun  6 21:16:26 2012	(r236695)
+++ user/dougb/portmaster/portmaster	Wed Jun  6 21:41:50 2012	(r236696)
@@ -3879,8 +3879,8 @@ if [ -n "$MAKE_PACKAGE" ]; then
 fi
 
 if [ -z "$use_package" -a -z "$DONT_POST_CLEAN" ]; then
-	pm_sv Running \'make clean\'
-	pm_make_s clean NOCLEANDEPENDS=ncd2
+	pm_sv Running \'make clean\' in the background
+	(pm_make_s clean NOCLEANDEPENDS=ncd2 >/dev/null)&
 	echo ''
 fi
 



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