Commit 8425b854971d04c354cc71d6355e290e6d2f7989

Authored by Jean-François Rey
1 parent 1c85f8188a
Exists in master

bug in configuration file saved

Showing 2 changed files with 2 additions and 1 deletions Side-by-side Diff

main_tools/SecondPass.sh
... ... @@ -198,6 +198,7 @@
198 198 echo "BASENAME=$BASENAME" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
199 199 echo "FIRSTPASS_DIR=$FIRSTPASS_DIR" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
200 200 echo "PLP_DIR_P1=$PLP_DIR_P1" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
  201 +echo "PLP_FILE_P1=$PLP_FILE_P1" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
201 202 echo "OUTPUT_DIR=$OUTPUT_DIR" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
202 203 echo "OUTPUT_DIR_BASENAME=$OUTPUT_DIR_BASENAME" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
203 204 echo "LST=$LST" >> $OUTPUT_DIR_BASENAME/SecondPass.cfg
main_tools/ThirdPass.sh
... ... @@ -236,7 +236,7 @@
236 236 if [ $CHECK -eq 1 ]
237 237 then
238 238 ls $RES_DIR/*.treil 2>/deV/null | sed -e "s|$RES_DIR\/||g" | sed -e 's/\.treil//' | sort > ${OUTPUT_DIR_BASENAME}/.tmp
239   - todo=$(cat ${PLP_FILE_P1} | wc -l)
  239 + todo=$(cat ${PLP_FILE_P1} 2>/dev/null | wc -l)
240 240 if [ $todo -eq 0 ]; then todo=1;fi
241 241 notdone=$(($todo - $(cat ${OUTPUT_DIR_BASENAME}/.tmp | wc -l)))
242 242 pourcentage=$((($notdone*100)/$todo))