functions: save & restore the static companion libraries install dir
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jun 02 22:30:55 2011 +0200 (2011-06-02)
changeset 250202b7285c078f
parent 2501 5f2d85ceb423
child 2503 b5541f296b92
functions: save & restore the static companion libraries install dir

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
scripts/functions
     1.1 --- a/scripts/functions	Thu Jun 02 23:56:13 2011 +0200
     1.2 +++ b/scripts/functions	Thu Jun 02 22:30:55 2011 +0200
     1.3 @@ -1073,6 +1073,7 @@
     1.4                             /^(FUNCNAME|GROUPS|PPID|SHELLOPTS)=/d;' >"${state_dir}/env.sh"
     1.5  
     1.6      CT_DoTarballIfExists "${CT_BUILDTOOLS_PREFIX_DIR}" "${state_dir}/buildtools_dir"
     1.7 +    CT_DoTarballIfExists "${CT_COMPLIBS_DIR}" "${state_dir}/complibs_dir"
     1.8      CT_DoTarballIfExists "${CT_CONFIG_DIR}" "${state_dir}/config_dir"
     1.9      CT_DoTarballIfExists "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${state_dir}/cc_core_static_prefix_dir"
    1.10      CT_DoTarballIfExists "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${state_dir}/cc_core_shared_prefix_dir"
    1.11 @@ -1109,6 +1110,7 @@
    1.12      CT_DoExtractTarballIfExists "${state_dir}/cc_core_shared_prefix_dir" "${CT_CC_CORE_SHARED_PREFIX_DIR}"
    1.13      CT_DoExtractTarballIfExists "${state_dir}/cc_core_static_prefix_dir" "${CT_CC_CORE_STATIC_PREFIX_DIR}"
    1.14      CT_DoExtractTarballIfExists "${state_dir}/config_dir" "${CT_CONFIG_DIR}"
    1.15 +    CT_DoExtractTarballIfExists "${state_dir}/complibs_dir" "${CT_COMPLIBS_DIR}"
    1.16      CT_DoExtractTarballIfExists "${state_dir}/buildtools_dir" "${CT_BUILDTOOLS_PREFIX_DIR}"
    1.17  
    1.18      # Restore the environment, discarding any error message