diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-02 22:30:55 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2011-06-02 22:30:55 +0200 |
commit | 7f504c6c278a4d484a0cbbd25af4bd41e655d6f8 (patch) | |
tree | d8842deea0ca231ed5e9cd3289bd3fc1a7be230d /scripts/functions | |
parent | 3299aa76858f8380d8ddf69492e3f2d874d7cad1 (diff) | |
download | crosstool-ng-7f504c6c278a4d484a0cbbd25af4bd41e655d6f8.tar.gz crosstool-ng-7f504c6c278a4d484a0cbbd25af4bd41e655d6f8.tar.bz2 crosstool-ng-7f504c6c278a4d484a0cbbd25af4bd41e655d6f8.zip |
functions: save & restore the static companion libraries install dir
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'scripts/functions')
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions index 5712631b..0ccbbae6 100644 --- a/scripts/functions +++ b/scripts/functions @@ -1073,6 +1073,7 @@ CT_DoSaveState() { /^(FUNCNAME|GROUPS|PPID|SHELLOPTS)=/d;' >"${state_dir}/env.sh" CT_DoTarballIfExists "${CT_BUILDTOOLS_PREFIX_DIR}" "${state_dir}/buildtools_dir" + CT_DoTarballIfExists "${CT_COMPLIBS_DIR}" "${state_dir}/complibs_dir" CT_DoTarballIfExists "${CT_CONFIG_DIR}" "${state_dir}/config_dir" CT_DoTarballIfExists "${CT_CC_CORE_STATIC_PREFIX_DIR}" "${state_dir}/cc_core_static_prefix_dir" CT_DoTarballIfExists "${CT_CC_CORE_SHARED_PREFIX_DIR}" "${state_dir}/cc_core_shared_prefix_dir" @@ -1109,6 +1110,7 @@ CT_DoLoadState(){ CT_DoExtractTarballIfExists "${state_dir}/cc_core_shared_prefix_dir" "${CT_CC_CORE_SHARED_PREFIX_DIR}" CT_DoExtractTarballIfExists "${state_dir}/cc_core_static_prefix_dir" "${CT_CC_CORE_STATIC_PREFIX_DIR}" CT_DoExtractTarballIfExists "${state_dir}/config_dir" "${CT_CONFIG_DIR}" + CT_DoExtractTarballIfExists "${state_dir}/complibs_dir" "${CT_COMPLIBS_DIR}" CT_DoExtractTarballIfExists "${state_dir}/buildtools_dir" "${CT_BUILDTOOLS_PREFIX_DIR}" # Restore the environment, discarding any error message |