From 48b8af9ef51fd19129552a47988c07ed4cf4f7a4 Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Fri, 2 Aug 2013 09:57:23 +0200 Subject: [PATCH] bugfix --- main_tools/ConfPass.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main_tools/ConfPass.sh b/main_tools/ConfPass.sh index 7a7d993..91dfe35 100755 --- a/main_tools/ConfPass.sh +++ b/main_tools/ConfPass.sh @@ -111,8 +111,6 @@ then exit 1 fi -print_info "[${BASENAME}] => Conf Pass start | $(date +'%d/%m/%y %H:%M:%S')" 1 - #-------------# # GLOBAL VARS # #-------------# @@ -127,6 +125,8 @@ RES_CONF_DIR="$OUTPUT_DIR/conf/$RES_NAME/scored_ctm" LOGFILE="${OUTPUT_DIR_BASENAME}/info_conf.log" ERRORFILE="${OUTPUT_DIR_BASENAME}/error_conf.log" +print_info "[${BASENAME}] => Conf Pass start | $(date +'%d/%m/%y %H:%M:%S')" 1 + #------------------# # Create Workspace # #------------------# @@ -173,7 +173,7 @@ fi # Check if treil are here nbres_p1=$(cat ${INPUT_DIR}/plp.lst | wc -l) -nbtreil_p=$(ls $RES_P/*.treil 2> /dev/null | wc -l) +nbtreil_p=$(ls ${RES_P}/*.treil 2> /dev/null | wc -l) if [ $nbtreil_p -eq 0 ] then print_error "[${BASENAME}] No ${RES_NAME} Pass, No .treil -> exit ConfPass" @@ -189,7 +189,7 @@ else print_info "[${BASENAME}] ${RES_NAME}/*.treil are here" 1 else print_warn "[${BASENAME}] not enough ${RES_NAME} treil" 2 - if [ $CHECK -eq 1 ]; then print_log_file $ERRORFILE "Not enough ${RES_NAME} treil " + if [ $CHECK -eq 1 ]; then print_log_file $ERRORFILE "Not enough ${RES_NAME} treil ";fi fi fi fi -- 1.8.2.3