summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2000-12-27 19:07:58 +0000
committerespie <espie@openbsd.org>2000-12-27 19:07:58 +0000
commitce38888f3916cb206bfcf5ed1f34d3c09c76e1a7 (patch)
treea82abf606acceb33e21bfe30c3db754686564a2e
parentbetter english and fix some spelling mistakes, Ok'd by aaron@ (diff)
downloadwireguard-openbsd-ce38888f3916cb206bfcf5ed1f34d3c09c76e1a7.tar.xz
wireguard-openbsd-ce38888f3916cb206bfcf5ed1f34d3c09c76e1a7.zip
Show CURDIR in that failure case too. Can't show a Makefile name yet
though... Ok'ed miod@.
-rw-r--r--usr.bin/make/job.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index 5692dba1098..cc4310966ba 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: job.c,v 1.38 2000/11/24 14:36:34 espie Exp $ */
+/* $OpenBSD: job.c,v 1.39 2000/12/27 19:07:58 espie Exp $ */
/* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */
/*
@@ -126,7 +126,7 @@
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
#else
UNUSED
-static char rcsid[] = "$OpenBSD: job.c,v 1.38 2000/11/24 14:36:34 espie Exp $";
+static char rcsid[] = "$OpenBSD: job.c,v 1.39 2000/12/27 19:07:58 espie Exp $";
#endif
#endif /* not lint */
@@ -1115,7 +1115,8 @@ Job_CheckCommands(gn, abortProc)
(void) fflush(stdout);
return FALSE;
} else {
- (*abortProc)("%s %s. Stop", msg, gn->name);
+ (*abortProc)("%s %s. Stop in %s.", msg, gn->name,
+ Var_Value(".CURDIR", VAR_GLOBAL));
return FALSE;
}
}