diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-22 19:21:03 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-22 19:21:03 +0200 |
commit | f1235bf5628e25912bb481de86aa98785ffd1d1d (patch) | |
tree | 6100d91ebec716b0d21233d674a9f95080d3b85c | |
parent | 8743f16f65762979c94f6ba2a653a559fde3f5a9 (diff) | |
download | crosstool-ng-f1235bf5628e25912bb481de86aa98785ffd1d1d.tar.gz crosstool-ng-f1235bf5628e25912bb481de86aa98785ffd1d1d.tar.bz2 crosstool-ng-f1235bf5628e25912bb481de86aa98785ffd1d1d.zip |
scripts/savesample: be silent when checking for .config file
-rw-r--r-- | scripts/saveSample.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in index e91dc9e0..2dfdf529 100644 --- a/scripts/saveSample.sh.in +++ b/scripts/saveSample.sh.in @@ -21,7 +21,10 @@ exec >/dev/null rm -f "${tmp_log_file}" # Parse the configuration file -CT_TestOrAbort "Configuration file not found. Please create one." -f .config +# Don't use CT_TestOrAbort, it prints the test string to [DEBUG] +if [ ! -f .config ]; then + CT_Abort "Configuration file not found. Please create one." +fi . .config # We can not reliably save a sample which either uses local patches |