# HG changeset patch # User Anthony Foiani # Date 1287777777 -7200 # Node ID 250cdcc864418980c6416e8793d76aefaa335aaa # Parent ef0142a8ad4cf48464012e3ebd1bf5cf4668923d scripts: add "FILE" and "CFG" debug levels. I ran into some minor difficulties looking through the build log for a particular file: I wasn't interested in seeing it unpacked, but only when it is built or installed. Adding these two levels allows me to differentiate between those cases. [Yann E. MORIN: Those are blind log levels, and are used only to search in the build-log afterward.] Signed-off-by: Anthony Foiani diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/binutils/binutils.sh --- a/scripts/build/binutils/binutils.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/binutils/binutils.sh Fri Oct 22 22:02:57 2010 +0200 @@ -26,7 +26,7 @@ CT_DoLog EXTRA "Configuring binutils" CFLAGS="${CT_CFLAGS_FOR_HOST}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/binutils-${CT_BINUTILS_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/binutils/elf2flt.sh --- a/scripts/build/binutils/elf2flt.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/binutils/elf2flt.sh Fri Oct 22 22:02:57 2010 +0200 @@ -38,7 +38,7 @@ CT_DoLog EXTRA "Configuring elf2flt" CFLAGS="${CT_CFLAGS_FOR_HOST}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/elf2flt-cvs-${CT_ELF2FLT_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/cc/gcc.sh --- a/scripts/build/cc/gcc.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/cc/gcc.sh Fri Oct 22 22:02:57 2010 +0200 @@ -203,7 +203,7 @@ CC_FOR_BUILD="${CT_BUILD}-gcc" \ CFLAGS="${CT_CFLAGS_FOR_HOST}" \ LDFLAGS="${core_LDFLAGS}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ @@ -237,17 +237,17 @@ # Next we have to configure gcc, create libgcc.mk then edit it... # So much easier if we just edit the source tree, but hey... if [ ! -f "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/gcc/BASE-VER" ]; then - CT_DoExecLog ALL make configure-libiberty + CT_DoExecLog CFG make configure-libiberty CT_DoExecLog ALL make ${PARALLELMFLAGS} -C libiberty libiberty.a - CT_DoExecLog ALL make configure-gcc configure-libcpp + CT_DoExecLog CFG make configure-gcc configure-libcpp CT_DoExecLog ALL make ${PARALLELMFLAGS} all-libcpp else - CT_DoExecLog ALL make configure-gcc configure-libcpp configure-build-libiberty + CT_DoExecLog CFG make configure-gcc configure-libcpp configure-build-libiberty CT_DoExecLog ALL make ${PARALLELMFLAGS} all-libcpp all-build-libiberty fi # HACK: gcc-4.2 uses libdecnumber to build libgcc.mk, so build it here. if [ -d "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/libdecnumber" ]; then - CT_DoExecLog ALL make configure-libdecnumber + CT_DoExecLog CFG make configure-libdecnumber CT_DoExecLog ALL make ${PARALLELMFLAGS} -C libdecnumber libdecnumber.a fi @@ -455,7 +455,7 @@ CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \ CXXFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS}" \ LDFLAGS_FOR_TARGET="${CT_TARGET_LDFLAGS}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/gcc-${CT_CC_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_libs/cloog.sh --- a/scripts/build/companion_libs/cloog.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_libs/cloog.sh Fri Oct 22 22:02:57 2010 +0200 @@ -60,7 +60,7 @@ CFLAGS="${CT_CFLAGS_FOR_HOST}" \ LDFLAGS="${cloog_LDFLAGS}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/cloog-ppl${_t}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_libs/gmp.sh --- a/scripts/build/companion_libs/gmp.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_libs/gmp.sh Fri Oct 22 22:02:57 2010 +0200 @@ -37,7 +37,7 @@ fi CFLAGS="${CT_CFLAGS_FOR_HOST} -fexceptions" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/gmp-${CT_GMP_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_libs/libelf.sh --- a/scripts/build/companion_libs/libelf.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_libs/libelf.sh Fri Oct 22 22:02:57 2010 +0200 @@ -36,7 +36,7 @@ libelf_opts+=( --disable-shared --enable-static ) fi - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/libelf-${CT_LIBELF_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_libs/mpc.sh --- a/scripts/build/companion_libs/mpc.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_libs/mpc.sh Fri Oct 22 22:02:57 2010 +0200 @@ -38,7 +38,7 @@ fi CFLAGS="${CT_CFLAGS_FOR_HOST}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/mpc-${CT_MPC_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_libs/mpfr.sh --- a/scripts/build/companion_libs/mpfr.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_libs/mpfr.sh Fri Oct 22 22:02:57 2010 +0200 @@ -88,7 +88,7 @@ CT_DoLog EXTRA "Configuring MPFR" CC="${CT_HOST}-gcc" \ CFLAGS="${CT_CFLAGS_FOR_HOST}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/mpfr-${CT_MPFR_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_libs/ppl.sh --- a/scripts/build/companion_libs/ppl.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_libs/ppl.sh Fri Oct 22 22:02:57 2010 +0200 @@ -41,7 +41,7 @@ CFLAGS="${CT_CFLAGS_FOR_HOST}" \ CXXFLAGS="${CT_CFLAGS_FOR_HOST}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/ppl-${CT_PPL_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_tools/100-m4.sh --- a/scripts/build/companion_tools/100-m4.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_tools/100-m4.sh Fri Oct 22 22:02:57 2010 +0200 @@ -17,7 +17,7 @@ mkdir -p "${CT_BUILD_DIR}/build-m4" CT_Pushd "${CT_BUILD_DIR}/build-m4" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/m4-${CT_M4_VERSION}/configure" \ --prefix="${CT_TOOLS_OVERIDE_DIR}" CT_DoExecLog ALL make diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_tools/200-autoconf.sh --- a/scripts/build/companion_tools/200-autoconf.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_tools/200-autoconf.sh Fri Oct 22 22:02:57 2010 +0200 @@ -22,7 +22,7 @@ # For reference see: # http://www.gnu.org/software/autoconf/manual/autoconf.html#CONFIG_005fSHEL - CT_DoExecLog ALL ${CONFIG_SHELL} \ + CT_DoExecLog CFG ${CONFIG_SHELL} \ "${CT_SRC_DIR}/autoconf-${CT_AUTOCONF_VERSION}/configure" \ --prefix="${CT_TOOLS_OVERIDE_DIR}" CT_DoExecLog ALL make diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_tools/300-automake.sh --- a/scripts/build/companion_tools/300-automake.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_tools/300-automake.sh Fri Oct 22 22:02:57 2010 +0200 @@ -17,7 +17,7 @@ mkdir -p "${CT_BUILD_DIR}/build-automake" CT_Pushd "${CT_BUILD_DIR}/build-automake" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/automake-${CT_AUTOMAKE_VERSION}/configure" \ --prefix="${CT_TOOLS_OVERIDE_DIR}" CT_DoExecLog ALL make diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/companion_tools/400-libtool.sh --- a/scripts/build/companion_tools/400-libtool.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/companion_tools/400-libtool.sh Fri Oct 22 22:02:57 2010 +0200 @@ -17,7 +17,7 @@ mkdir -p "${CT_BUILD_DIR}/build-libtool" CT_Pushd "${CT_BUILD_DIR}/build-libtool" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/libtool-${CT_LIBTOOL_VERSION}/configure" \ --prefix="${CT_TOOLS_OVERIDE_DIR}" CT_DoExecLog ALL make diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/debug/000-template.sh --- a/scripts/build/debug/000-template.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/debug/000-template.sh Fri Oct 22 22:02:57 2010 +0200 @@ -20,7 +20,7 @@ # For example: # mkdir -p "${CT_BUILD_DIR}/build-foobar" # CT_Pushd "${CT_BUILD_DIR}/build-foobar" - # CT_DoExecLog ALL \ + # CT_DoExecLog CFG \ # "${CT_SRC_DIR}/foobar-${CT_FOOBAR_VERSION}/configure" \ # --build=${CT_BUILD} \ # --host=${CT_TARGET} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/debug/100-dmalloc.sh --- a/scripts/build/debug/100-dmalloc.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/debug/100-dmalloc.sh Fri Oct 22 22:02:57 2010 +0200 @@ -36,7 +36,7 @@ LD="${CT_TARGET}-ld" \ AR="${CT_TARGET}-ar" \ CFLAGS=-fPIC \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/dmalloc-${CT_DMALLOC_VERSION}/configure" \ --prefix=/usr \ --build="${CT_BUILD}" \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/debug/300-gdb.sh Fri Oct 22 22:02:57 2010 +0200 @@ -112,7 +112,7 @@ CC="${CC_for_gdb}" \ LD="${LD_for_gdb}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${gdb_cross_configure}" \ --build=${CT_BUILD} \ --host=${CT_HOST} \ @@ -153,7 +153,7 @@ # Use build = CT_REAL_BUILD so that configure thinks it is # cross-compiling, and thus will use the ${CT_BUILD}-* # tools instead of searching for the native ones... - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_BUILD} \ @@ -178,7 +178,7 @@ mkdir -p "${CT_BUILD_DIR}/build-ncurses" cd "${CT_BUILD_DIR}/build-ncurses" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ @@ -211,7 +211,7 @@ mkdir -p "${CT_BUILD_DIR}/expat-build" cd "${CT_BUILD_DIR}/expat-build" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/expat-${CT_DEBUG_GDB_EXPAT_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ @@ -251,7 +251,7 @@ CC="${CC_for_gdb}" \ LD="${LD_for_gdb}" \ CFLAGS="${gdb_native_CFLAGS[@]}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${gdb_src_dir}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ @@ -313,7 +313,7 @@ gdbserver_extra_config=("${extra_config[@]}") LDFLAGS="${gdbserver_LDFLAGS}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${gdb_src_dir}/gdb/gdbserver/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/debug/400-ltrace.sh --- a/scripts/build/debug/400-ltrace.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/debug/400-ltrace.sh Fri Oct 22 22:02:57 2010 +0200 @@ -38,9 +38,9 @@ CC="${CT_TARGET}-${CT_CC}" \ HOST="${ltrace_host}" \ CFLAGS="${CT_TARGET_CFLAGS}" \ - CT_DoExecLog ALL ./configure --prefix=/usr + CT_DoExecLog CFG ./configure --prefix=/usr else - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ ./configure \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/debug/500-strace.sh --- a/scripts/build/debug/500-strace.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/debug/500-strace.sh Fri Oct 22 22:02:57 2010 +0200 @@ -17,7 +17,7 @@ CT_Pushd "${CT_BUILD_DIR}/build-strace" CT_DoLog EXTRA "Configuring strace" - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/strace-${CT_STRACE_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/libc/eglibc.sh --- a/scripts/build/libc/eglibc.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/libc/eglibc.sh Fri Oct 22 22:02:57 2010 +0200 @@ -203,7 +203,7 @@ CXX=${cross_cxx} \ AR=${cross_ar} \ RANLIB=${cross_ranlib} \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/eglibc-${CT_LIBC_VERSION}/configure" \ --prefix=/usr \ --with-headers="${CT_HEADERS_DIR}" \ @@ -311,7 +311,7 @@ CC="${CT_TARGET}-gcc ${CT_LIBC_EXTRA_CC_ARGS} ${extra_cc_args}" \ AR=${CT_TARGET}-ar \ RANLIB=${CT_TARGET}-ranlib \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/eglibc-${CT_LIBC_VERSION}/configure" \ --prefix=/usr \ --with-headers="${CT_HEADERS_DIR}" \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/libc/glibc.sh --- a/scripts/build/libc/glibc.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/libc/glibc.sh Fri Oct 22 22:02:57 2010 +0200 @@ -130,7 +130,7 @@ libc_cv_mlong_double_128=yes \ libc_cv_mlong_double_128ibm=yes \ CC=${cross_cc} \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/glibc-${CT_LIBC_VERSION}/configure" \ --build="${CT_BUILD}" \ --host="${CT_TARGET}" \ @@ -302,7 +302,7 @@ CC="${cross_cc} ${CT_LIBC_EXTRA_CC_ARGS} ${extra_cc_args}" \ AR=${CT_TARGET}-ar \ RANLIB=${CT_TARGET}-ranlib \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/glibc-${CT_LIBC_VERSION}/configure" \ --prefix=/usr \ --build="${CT_BUILD}" \ @@ -441,7 +441,7 @@ CC="${CT_TARGET}-gcc ${CT_LIBC_EXTRA_CC_ARGS} ${extra_cc_args}" \ AR=${CT_TARGET}-ar \ RANLIB=${CT_TARGET}-ranlib \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/glibc-${CT_LIBC_VERSION}/configure" \ --prefix=/usr \ --build=${CT_BUILD} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/libc/mingw.sh --- a/scripts/build/libc/mingw.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/libc/mingw.sh Fri Oct 22 22:02:57 2010 +0200 @@ -63,7 +63,7 @@ CFLAGS="-I${CT_HEADERS_DIR}" \ LDFLAGS="-L${CT_SYSROOT_DIR}/lib" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/w32api-${CT_W32API_VERSION}-mingw32/configure" \ --prefix=${CT_SYSROOT_DIR} \ --includedir=${CT_HEADERS_DIR} \ @@ -82,7 +82,7 @@ CFLAGS="-I${CT_HEADERS_DIR}" \ LDFLAGS="-L${CT_SYSROOT_DIR}/lib" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/mingwrt-${CT_MINGWRT_VERSION}-mingw32/configure" \ --prefix=${CT_SYSROOT_DIR}/ \ --includedir=${CT_HEADERS_DIR} \ @@ -138,7 +138,7 @@ cd "${CT_BUILD_DIR}/build-gnurx" CFLAGS="${CT_CFLAGS_FOR_TARGET}" \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/mingw-libgnurx-${CT_MINGW_GNURX_VERSION}/configure" \ --build=${CT_BUILD} \ --host=${CT_TARGET} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/libc/newlib.sh --- a/scripts/build/libc/newlib.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/libc/newlib.sh Fri Oct 22 22:02:57 2010 +0200 @@ -75,7 +75,7 @@ CFLAGS_FOR_TARGET="${CT_TARGET_CFLAGS} -O" \ AR=${CT_TARGET}-ar \ RANLIB=${CT_TARGET}-ranlib \ - CT_DoExecLog ALL \ + CT_DoExecLog CFG \ "${CT_SRC_DIR}/newlib-$(libc_newlib_version)/configure" \ --host=${CT_BUILD} \ --target=${CT_TARGET} \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/build/libc/uClibc.sh --- a/scripts/build/libc/uClibc.sh Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/build/libc/uClibc.sh Fri Oct 22 22:02:57 2010 +0200 @@ -190,7 +190,7 @@ # to best fit the target. So it is useless and seems to be a bad thing to # use LIBC_EXTRA_CFLAGS here. CT_DoLog EXTRA "Applying configuration" - CT_DoYes "" |CT_DoExecLog ALL \ + CT_DoYes "" |CT_DoExecLog CFG \ make CROSS=${CT_TARGET}- \ PREFIX="${CT_SYSROOT_DIR}/" \ LOCALE_DATA_FILENAME="${uclibc_local_tarball}.tgz" \ diff -r ef0142a8ad4c -r 250cdcc86441 scripts/functions --- a/scripts/functions Wed Oct 20 15:25:38 2010 +0200 +++ b/scripts/functions Fri Oct 22 22:02:57 2010 +0200 @@ -49,8 +49,10 @@ CT_LOG_LEVEL_WARN=1 CT_LOG_LEVEL_INFO=2 CT_LOG_LEVEL_EXTRA=3 -CT_LOG_LEVEL_ALL=4 -CT_LOG_LEVEL_DEBUG=5 +CT_LOG_LEVEL_CFG=4 +CT_LOG_LEVEL_FILE=5 +CT_LOG_LEVEL_ALL=6 +CT_LOG_LEVEL_DEBUG=7 # Make it easy to use \n and ! CR=$(printf "\n") @@ -63,6 +65,8 @@ # - INFO: Informational messages # - EXTRA: Extra informational messages # - DEBUG: Debug messages +# - CFG: Output of various "./configure"-type scripts +# - FILE: File / archive unpacking. # - ALL: Component's build messages # Usage: CT_DoLog [message] # If message is empty, then stdin will be logged. @@ -671,9 +675,9 @@ CT_DoLog EXTRA "Extracting '${basename}'" case "${ext}" in - .tar.bz2) CT_DoExecLog ALL tar xvjf "${full_file}";; - .tar.gz|.tgz) CT_DoExecLog ALL tar xvzf "${full_file}";; - .tar) CT_DoExecLog ALL tar xvf "${full_file}";; + .tar.bz2) CT_DoExecLog FILE tar xvjf "${full_file}";; + .tar.gz|.tgz) CT_DoExecLog FILE tar xvzf "${full_file}";; + .tar) CT_DoExecLog FILE tar xvf "${full_file}";; /.git) CT_ExtractGit "${basename}" "${@}";; *) CT_Abort "Don't know how to handle '${basename}${ext}': unknown extension";; esac @@ -729,7 +733,7 @@ case "${ref_type}" in none) ;; - *) CT_DoExecLog ALL git checkout "${ref}";; + *) CT_DoExecLog FILE git checkout "${ref}";; esac CT_Popd