aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2014-04-14 08:58:36 -0700
committerMark Ferrell <major@homeonderanged.org>2014-04-14 08:58:36 -0700
commit2b5b981498a178e1fa66a272b74ec2afd754ac29 (patch)
tree1d74a583de95751f8e185ef41572f2fcc5627705
parente1d0f916c18826922d8f15127e7135f40a0eea7f (diff)
Do not consume the command exit status
* Using <cmd> && date causes 'make' to miss the exit status from <cmd>. Further more, this condition is already implied by the Makefile by simply putting date on a new line below <cmd>.
-rwxr-xr-xlibexec/build-makedeps6
1 files changed, 4 insertions, 2 deletions
diff --git a/libexec/build-makedeps b/libexec/build-makedeps
index 93a0271..ac29d1c 100755
--- a/libexec/build-makedeps
+++ b/libexec/build-makedeps
@@ -125,10 +125,12 @@ ${package_make}_distclean:
@build-make-distclean "${CATEGORY}/${NAME}"
${package_make}_prep: ${package_prep}
${package_prep}: ${package_sources} ${package_bdeps}
- @build-make-prep "${CATEGORY}/${NAME}" && date >> "${package_prep}"
+ @build-make-prep "${CATEGORY}/${NAME}"
+ @date >> "${package_prep}"
${package_make}_compile: ${package_compile}
${package_compile}: ${package_prep}
- @build-make-compile "${CATEGORY}/${NAME}" && date >> "${package_compile}"
+ @build-make-compile "${CATEGORY}/${NAME}"
+ @date >> "${package_compile}"
${package_make}_package: ${package_archive}
${package_archive}: ${package_compile}
@build-make-package "${CATEGORY}/${NAME}"