From 8425b854971d04c354cc71d6355e290e6d2f7989 Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Fri, 2 Aug 2013 15:35:56 +0200 Subject: [PATCH] bug in configuration file saved --- main_tools/SecondPass.sh | 1 + main_tools/ThirdPass.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main_tools/SecondPass.sh b/main_tools/SecondPass.sh index 2f9ae1e..0166b2f 100755 --- a/main_tools/SecondPass.sh +++ b/main_tools/SecondPass.sh @@ -198,6 +198,7 @@ echo "WAV_FILE=$WAV_FILE" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg echo "BASENAME=$BASENAME" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg echo "FIRSTPASS_DIR=$FIRSTPASS_DIR" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg echo "PLP_DIR_P1=$PLP_DIR_P1" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg +echo "PLP_FILE_P1=$PLP_FILE_P1" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg echo "OUTPUT_DIR=$OUTPUT_DIR" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg echo "OUTPUT_DIR_BASENAME=$OUTPUT_DIR_BASENAME" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg echo "LST=$LST" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg diff --git a/main_tools/ThirdPass.sh b/main_tools/ThirdPass.sh index 55f39c3..380fd56 100755 --- a/main_tools/ThirdPass.sh +++ b/main_tools/ThirdPass.sh @@ -236,7 +236,7 @@ done if [ $CHECK -eq 1 ] then ls $RES_DIR/*.treil 2>/deV/null | sed -e "s|$RES_DIR\/||g" | sed -e 's/\.treil//' | sort > ${OUTPUT_DIR_BASENAME}/.tmp - todo=$(cat ${PLP_FILE_P1} | wc -l) + todo=$(cat ${PLP_FILE_P1} 2>/dev/null | wc -l) if [ $todo -eq 0 ]; then todo=1;fi notdone=$(($todo - $(cat ${OUTPUT_DIR_BASENAME}/.tmp | wc -l))) pourcentage=$((($notdone*100)/$todo)) -- 1.8.2.3