diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-09-13 15:14:28 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-09-13 15:14:28 (GMT) |
commit | 2d6a221babda79345734688ffd9f36261121cae0 (patch) | |
tree | 5bae64e3281794fb81ec3d20884b13d017f5e966 /scripts/saveSample.sh.in | |
parent | 5bd5b5d687c33f1faf459c84d19f9ef49c64aa26 (diff) |
samples: correclty fix saving samples with a C library config file
Diffstat (limited to 'scripts/saveSample.sh.in')
-rw-r--r-- | scripts/saveSample.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in index 9e4e358..e91dc9e 100644 --- a/scripts/saveSample.sh.in +++ b/scripts/saveSample.sh.in @@ -99,7 +99,7 @@ fi if [ -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" ]; then # We save the file, and then point the saved sample to this file CT_DoAddFileToSample "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${samp_dir}/${CT_LIBC}-${CT_LIBC_VERSION}.config" - "${sed}" -r -i -e 's|^(CT_LIBC_UCLIBC_CONFIG_FILE)=.+$|\1="'"${samp_top_dir}"'/${samp_dir}/${CT_LIBC}-${CT_LIBC_VERSION}.config"|;' \ + "${sed}" -r -i -e 's|^(CT_LIBC_UCLIBC_CONFIG_FILE)=.+$|\1="'"${samp_top_dir}"'/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"|;' \ "${samp_dir}/crosstool.config" else # remove any dangling files |