Commit 3aadb226163387087eae5344f062d8499e705b71

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

update

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

main_tools/RecomposePass.sh
... ... @@ -173,17 +173,20 @@
173 173 print_info "[${BASENAME}] Launch Recompose Pass" 1
174 174  
175 175 ## Check seg in p3
  176 +print_info "cp res_p3 into res_all" 3
176 177 cp $RES_P3/*.res $RES_DIR
177 178 ls $RES_P3/*.res | sed -e "s|$RES_P3\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_p3.tmp
178 179 ls $RES_P2/*.res | sed -e "s|$RES_P2\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_p2.tmp
179 180 ls $RES_P1/*.res | sed -e "s|$RES_P1\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_p1.tmp
180 181 diff_3_2=$(diff ${OUTPUT_DIR_BASENAME}/res_p3.tmp ${OUTPUT_DIR_BASENAME}/res_p2.tmp | grep -e "^> " | sed -e "s/> //")
  182 +print_info "cp missing res_p2 into res_all" 3
181 183 for res in $diff_3_2
182 184 do
183 185 cp $RES_P2/$res.res $RES_DIR
184 186 done
185 187 ls $RES_DIR/*.res | sed -e "s|$RES_DIR\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_all.tmp
186 188 diff_3_1=$(diff ${OUTPUT_DIR_BASENAME}/res_all.tmp ${OUTPUT_DIR_BASENAME}/res_p1.tmp | grep -e "^> " | sed -e "s/> //")
  189 +print_info "cp missing res_p1 into res_all" 3
187 190 for res in $diff_3_1
188 191 do
189 192 cp $RES_P1/$res.res $RES_DIR