diff mbox

[COMMITTED] cbuild/lib/make.sh: Add ${builddir}/install.log from make install output.

Message ID 1381961989-13851-1-git-send-email-ryan.arnold@linaro.org
State New
Headers show

Commit Message

Ryan S. Arnold Oct. 16, 2013, 10:19 p.m. UTC
From: "Ryan S. Arnold" <ryan.arnold@linaro.org>

Pushed to upstream master as an obvious fix.
---
 lib/make.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/lib/make.sh b/lib/make.sh
index 5b0d9ab..2fd5dd4 100755
--- a/lib/make.sh
+++ b/lib/make.sh
@@ -318,9 +318,9 @@  make_install()
 	# FIXME: binutils in the 2.23 linaro branch causes 'make install'
 	# due to an info file problem, so we ignore the error so the build
 	# will continue.
-	dryrun "make install ${make_flags} -i -k -w -C ${builddir}"
+	dryrun "make install ${make_flags} -i -k -w -C ${builddir} 2>&1 | tee ${builddir}/install.log"
     else
-	dryrun "make install ${make_flags} -w -C ${builddir}"
+	dryrun "make install ${make_flags} -w -C ${builddir} 2>&1 | tee ${builddir}/install.log"
     fi
 
     if test $? != "0"; then