summaryrefslogtreecommitdiff
path: root/scripts/tarball.sh
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-17 14:51:37 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-06-17 14:51:37 (GMT)
commit7746415b7dc0ce7a822a8cb2920d14220b7fe5c1 (patch)
tree3a00225d959787e20a9de88d2027027c1c98e861 /scripts/tarball.sh
parente1e7d871b2107a5342626d413a109b810a167665 (diff)
The log file is no longer configurable: it is always "${CT_PREFIX_DIR}/build.log".
Add an option to compress the log file upon successfull build. Make rendering the toolchain read-only optional. A few eye-candy fixes.
Diffstat (limited to 'scripts/tarball.sh')
-rwxr-xr-xscripts/tarball.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/tarball.sh b/scripts/tarball.sh
index febc2a6..8e6c312 100755
--- a/scripts/tarball.sh
+++ b/scripts/tarball.sh
@@ -92,5 +92,7 @@ CT_DoLog DEBUG "Getting rid of working directories"
rm -f "${CT_PREFIX_DIR}/${topdir}.${CT_TARGET}.tar.bzip2"
rm -rf "${tempdir}"
-# Render the install directory non-writable
-chmod u-w "${CT_PREFIX_DIR}"
+if [ "${CT_INSTALL_DIR_RO}" = "y" ]; then
+ # Render the install directory non-writable
+ chmod u-w "${CT_PREFIX_DIR}"
+fi