From 3aadb226163387087eae5344f062d8499e705b71 Mon Sep 17 00:00:00 2001 From: rey jean-Francois Date: Fri, 2 Aug 2013 16:28:58 +0200 Subject: [PATCH] update --- main_tools/RecomposePass.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main_tools/RecomposePass.sh b/main_tools/RecomposePass.sh index b073736..5f88c0f 100755 --- a/main_tools/RecomposePass.sh +++ b/main_tools/RecomposePass.sh @@ -173,17 +173,20 @@ print_info "[${BASENAME}] Save config in $OUTPUT_DIR_BASENAME/RecomposePass.cfg" print_info "[${BASENAME}] Launch Recompose Pass" 1 ## Check seg in p3 +print_info "cp res_p3 into res_all" 3 cp $RES_P3/*.res $RES_DIR ls $RES_P3/*.res | sed -e "s|$RES_P3\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_p3.tmp ls $RES_P2/*.res | sed -e "s|$RES_P2\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_p2.tmp ls $RES_P1/*.res | sed -e "s|$RES_P1\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_p1.tmp diff_3_2=$(diff ${OUTPUT_DIR_BASENAME}/res_p3.tmp ${OUTPUT_DIR_BASENAME}/res_p2.tmp | grep -e "^> " | sed -e "s/> //") +print_info "cp missing res_p2 into res_all" 3 for res in $diff_3_2 do cp $RES_P2/$res.res $RES_DIR done ls $RES_DIR/*.res | sed -e "s|$RES_DIR\/||g" | sed -e 's/\.res//' | sort > ${OUTPUT_DIR_BASENAME}/res_all.tmp diff_3_1=$(diff ${OUTPUT_DIR_BASENAME}/res_all.tmp ${OUTPUT_DIR_BASENAME}/res_p1.tmp | grep -e "^> " | sed -e "s/> //") +print_info "cp missing res_p1 into res_all" 3 for res in $diff_3_1 do cp $RES_P1/$res.res $RES_DIR -- 1.8.2.3