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))