scripts/savesample: be silent when checking for .config file
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 22 19:21:03 2010 +0200 (2010-04-22)
changeset 1935c573e3ef5e07
parent 1930 d78dac957ebc
child 1936 0c55a28f61cd
scripts/savesample: be silent when checking for .config file
scripts/saveSample.sh.in
     1.1 --- a/scripts/saveSample.sh.in	Wed Apr 21 19:06:29 2010 +0200
     1.2 +++ b/scripts/saveSample.sh.in	Thu Apr 22 19:21:03 2010 +0200
     1.3 @@ -21,7 +21,10 @@
     1.4  rm -f "${tmp_log_file}"
     1.5  
     1.6  # Parse the configuration file
     1.7 -CT_TestOrAbort "Configuration file not found. Please create one." -f .config
     1.8 +# Don't use CT_TestOrAbort, it prints the test string to [DEBUG]
     1.9 +if [ ! -f .config ]; then
    1.10 +    CT_Abort "Configuration file not found. Please create one."
    1.11 +fi
    1.12  . .config
    1.13  
    1.14  # We can not reliably save a sample which either uses local patches