aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-04 16:38:20 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-04 16:38:20 +0000
commit1f99cce2b03b1bfd6200c74425cf78aa9aa5df59 (patch)
tree7491546c83dd08d7c494a04e38738987ff852b7e /tools
parentaabe1bb37acfb77f166ca156ba32a580bd4fb86d (diff)
Notes
Diffstat (limited to 'tools')
-rwxr-xr-xtools/boot/universe.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/boot/universe.sh b/tools/boot/universe.sh
index 5f5c5b85604cc..d05097a067997 100755
--- a/tools/boot/universe.sh
+++ b/tools/boot/universe.sh
@@ -26,7 +26,7 @@ dobuild()
local opt=$3
echo -n "Building $ta ${opt} ... "
- objdir=$(make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -V .OBJDIR")
+ objdir=$(make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make -V .OBJDIR" | tail -1)
rm -rf ${objdir}
if ! make buildenv TARGET_ARCH=$ta BUILDENV_SHELL="make clean cleandepend cleandir obj depend" \
> $lf 2>&1; then