scripts/functions
changeset 2381 0ca0f85a4b2a
parent 2340 580f427595bc
child 2382 cbd07f3dd6e3
     1.1 --- a/scripts/functions	Tue Mar 15 23:18:37 2011 +0100
     1.2 +++ b/scripts/functions	Wed Apr 06 22:30:57 2011 +0200
     1.3 @@ -1030,9 +1030,6 @@
     1.4                             /^(UID|EUID)=/d;
     1.5                             /^(FUNCNAME|GROUPS|PPID|SHELLOPTS)=/d;' >"${state_dir}/env.sh"
     1.6  
     1.7 -    if [ "${CT_COMPLIBS_BACKUP}" = "y" ]; then
     1.8 -        CT_DoTarballIfExists "${CT_COMPLIBS_DIR}" "${state_dir}/complibs_dir"
     1.9 -    fi
    1.10      CT_DoTarballIfExists "${CT_BUILDTOOLS_PREFIX_DIR}" "${state_dir}/buildtools_dir"
    1.11      CT_DoTarballIfExists "${CT_CONFIG_DIR}" "${state_dir}/config_dir"
    1.12      CT_DoTarballIfExists "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${state_dir}/cc_core_static_prefix_dir"
    1.13 @@ -1071,9 +1068,6 @@
    1.14      CT_DoExtractTarballIfExists "${state_dir}/cc_core_static_prefix_dir" "${CT_CC_CORE_STATIC_PREFIX_DIR}"
    1.15      CT_DoExtractTarballIfExists "${state_dir}/config_dir" "${CT_CONFIG_DIR}"
    1.16      CT_DoExtractTarballIfExists "${state_dir}/buildtools_dir" "${CT_BUILDTOOLS_PREFIX_DIR}"
    1.17 -    if [ "${CT_COMPLIBS_BACKUP}" = "y" ]; then
    1.18 -        CT_DoExtractTarballIfExists "${state_dir}/complibs_dir" "${CT_COMPLIBS_DIR}"
    1.19 -    fi
    1.20  
    1.21      # Restore the environment, discarding any error message
    1.22      # (for example, read-only bash internals)