aboutsummaryrefslogtreecommitdiff
path: root/build.1
diff options
context:
space:
mode:
Diffstat (limited to 'build.1')
-rw-r--r--build.112
1 files changed, 12 insertions, 0 deletions
diff --git a/build.1 b/build.1
index 3d8fcda..cf66324 100644
--- a/build.1
+++ b/build.1
@@ -76,6 +76,18 @@ in the same shell process.
This means that you can keep state across multiple commands.
Note that all commands are executed
regardless of the exit status of previous commands.
+.Pp
+.Nm
+exits with a positive status if a command failed.
+Note that it checks the status
+of the entire command sent to the shell,
+not the individual command lines.
+To emulate the behavior of
+.Xr make 1 ,
+which fails if any individual command line fails,
+you can use
+.Ql set -e
+in your command line.
.
.Sh EXAMPLES
.Pp