This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Keep an uncompressed build log


# HG changeset patch
# User Trevor Woerner <twoerner@gmail.com>
# Date 1299133460 18000
# Node ID 77ce48248e124ecc80d5450a11527005ff16f025
# Parent  046b36207331785585b69fcb2902053742dfdbee
Keep an uncompressed build log.

After the build has completed, retain a copy of the uncompressed build log
in the build directory (${CT_TOP_DIR}) in addition to the compressed copy
at the install location (${CT_PREFIX_DIR}).

diff -r 046b36207331 -r 77ce48248e12 scripts/crosstool-NG.sh.in
--- a/scripts/crosstool-NG.sh.in	Sun Feb 27 22:14:12 2011 +0100
+++ b/scripts/crosstool-NG.sh.in	Thu Mar 03 01:24:20 2011 -0500
@@ -624,6 +624,7 @@
 CT_DoLog INFO "Finishing installation (may take a few seconds)..."
 exec >/dev/null 2>&1
 
+cp ${CT_LOG_FILE} ${CT_TOP_DIR}
 [ "${CT_LOG_FILE_COMPRESS}" = y ] && bzip2 -9 "${CT_LOG_FILE}"
 [ "${CT_INSTALL_DIR_RO}" = "y"  ] && chmod -R a-w "${CT_INSTALL_DIR}"
 [ "${CT_TEST_SUITE}" = "y" ] && chmod -R u+w "${CT_TEST_SUITE_DIR}"

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]