summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2000-12-27 19:07:59 +0000
committerMarc Espie <espie@cvs.openbsd.org>2000-12-27 19:07:59 +0000
commit3d2226e5ce91cecc7bf8f69e9e523aa2c3d0524b (patch)
tree0550e647ad6d62d948c0f0af7e9ac7c700628c3a /usr.bin
parentb4388b70cb2403d86cf7d3a0c84fda5a832e1b40 (diff)
Show CURDIR in that failure case too. Can't show a Makefile name yet
though... Ok'ed miod@.
Diffstat (limited to 'usr.bin')
-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;
}
}