From f1235bf5628e25912bb481de86aa98785ffd1d1d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 22 Apr 2010 19:21:03 +0200 Subject: scripts/savesample: be silent when checking for .config file diff --git a/scripts/saveSample.sh.in b/scripts/saveSample.sh.in index e91dc9e..2dfdf52 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 -- cgit v0.10.2-6-g49f6