svn commit: r198197 - head/usr.bin/make

Max Khon fjoe at FreeBSD.org
Sun Oct 18 11:26:09 UTC 2009


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++;
 		}
 	}
 


More information about the svn-src-head mailing list