samples: correclty fix saving samples with a C library config file
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Sep 13 17:14:28 2009 +0200 (2009-09-13)
changeset 1539dd6d8c22d3fd
parent 1538 d443b94be93e
child 1540 3c916825b28d
samples: correclty fix saving samples with a C library config file
scripts/saveSample.sh.in
     1.1 --- a/scripts/saveSample.sh.in	Sun Sep 13 17:14:03 2009 +0200
     1.2 +++ b/scripts/saveSample.sh.in	Sun Sep 13 17:14:28 2009 +0200
     1.3 @@ -99,7 +99,7 @@
     1.4  if [ -n "${CT_LIBC_UCLIBC_CONFIG_FILE}" ]; then
     1.5      # We save the file, and then point the saved sample to this file
     1.6      CT_DoAddFileToSample "${CT_LIBC_UCLIBC_CONFIG_FILE}" "${samp_dir}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
     1.7 -    "${sed}" -r -i -e 's|^(CT_LIBC_UCLIBC_CONFIG_FILE)=.+$|\1="'"${samp_top_dir}"'/${samp_dir}/${CT_LIBC}-${CT_LIBC_VERSION}.config"|;' \
     1.8 +    "${sed}" -r -i -e 's|^(CT_LIBC_UCLIBC_CONFIG_FILE)=.+$|\1="'"${samp_top_dir}"'/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"|;' \
     1.9               "${samp_dir}/crosstool.config"
    1.10  else
    1.11      # remove any dangling files