diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-09-12 00:10:38 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2009-09-12 00:10:38 +0200 |
commit | 6b37673b6477be9c3796ce8f398f9f823471d21f (patch) | |
tree | b380d6ae760c4edeb9ea622bee1c619ad12c3335 | |
parent | 26b3a17f58e9af55a36d1455c2a61ca4f22225b3 (diff) | |
download | crosstool-ng-6b37673b6477be9c3796ce8f398f9f823471d21f.tar.gz crosstool-ng-6b37673b6477be9c3796ce8f398f9f823471d21f.tar.bz2 crosstool-ng-6b37673b6477be9c3796ce8f398f9f823471d21f.zip |
samples: fix saving samples
Use a correct sed pattern when setting CT_PREFIX_DIR
-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 4ef71ce2..9e4e3584 100644 --- a/scripts/saveSample.sh.in +++ b/scripts/saveSample.sh.in @@ -69,7 +69,7 @@ samp_dir="samples/${samp_name}" mkdir -p "${samp_dir}" # Save the crosstool-NG config file -"${sed}" -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${samp_name}"|;' \ +"${sed}" -r -e 's|^(CT_PREFIX_DIR)=.*|\1="${HOME}/x-tools/${CT_TARGET}"|;' \ -e 's|^# CT_LOG_TO_FILE is not set$|CT_LOG_TO_FILE=y|;' \ -e 's|^# CT_LOG_FILE_COMPRESS is not set$|CT_LOG_FILE_COMPRESS=y|;' \ -e 's|^(CT_LOCAL_TARBALLS_DIR)=.*|\1="${HOME}/src"|;' \ |