Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Oct 2009 11:26:09 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198197 - head/usr.bin/make
Message-ID:  <200910181126.n9IBQ9kJ067571@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Sun Oct 18 11:26:09 2009
New Revision: 198197
URL: http://svn.freebsd.org/changeset/base/198197

Log:
  Exit with non-zero error code in case of errors
  when make is run with -k and not parallel (compat) make is run.

Modified:
  head/usr.bin/make/job.c

Modified: head/usr.bin/make/job.c
==============================================================================
--- head/usr.bin/make/job.c	Sun Oct 18 11:23:56 2009	(r198196)
+++ head/usr.bin/make/job.c	Sun Oct 18 11:26:09 2009	(r198197)
@@ -3380,6 +3380,8 @@ Compat_Run(Lst *targs)
 			printf("`%s' not remade because of errors.\n",
 			    gn->name);
 			makeErrors++;
+		} else if (gn->made == ERROR) {
+			makeErrors++;
 		}
 	}
 



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