Commit 48b8af9ef51fd19129552a47988c07ed4cf4f7a4
1 parent
6db49dab66
Exists in
master
bugfix
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
main_tools/ConfPass.sh
... | ... | @@ -111,8 +111,6 @@ |
111 | 111 | exit 1 |
112 | 112 | fi |
113 | 113 | |
114 | -print_info "[${BASENAME}] => Conf Pass start | $(date +'%d/%m/%y %H:%M:%S')" 1 | |
115 | - | |
116 | 114 | #-------------# |
117 | 115 | # GLOBAL VARS # |
118 | 116 | #-------------# |
... | ... | @@ -127,6 +125,8 @@ |
127 | 125 | LOGFILE="${OUTPUT_DIR_BASENAME}/info_conf.log" |
128 | 126 | ERRORFILE="${OUTPUT_DIR_BASENAME}/error_conf.log" |
129 | 127 | |
128 | +print_info "[${BASENAME}] => Conf Pass start | $(date +'%d/%m/%y %H:%M:%S')" 1 | |
129 | + | |
130 | 130 | #------------------# |
131 | 131 | # Create Workspace # |
132 | 132 | #------------------# |
... | ... | @@ -173,7 +173,7 @@ |
173 | 173 | |
174 | 174 | # Check if treil are here |
175 | 175 | nbres_p1=$(cat ${INPUT_DIR}/plp.lst | wc -l) |
176 | -nbtreil_p=$(ls $RES_P/*.treil 2> /dev/null | wc -l) | |
176 | +nbtreil_p=$(ls ${RES_P}/*.treil 2> /dev/null | wc -l) | |
177 | 177 | if [ $nbtreil_p -eq 0 ] |
178 | 178 | then |
179 | 179 | print_error "[${BASENAME}] No ${RES_NAME} Pass, No .treil -> exit ConfPass" |
... | ... | @@ -189,7 +189,7 @@ |
189 | 189 | print_info "[${BASENAME}] ${RES_NAME}/*.treil are here" 1 |
190 | 190 | else |
191 | 191 | print_warn "[${BASENAME}] not enough ${RES_NAME} treil" 2 |
192 | - if [ $CHECK -eq 1 ]; then print_log_file $ERRORFILE "Not enough ${RES_NAME} treil " | |
192 | + if [ $CHECK -eq 1 ]; then print_log_file $ERRORFILE "Not enough ${RES_NAME} treil ";fi | |
193 | 193 | fi |
194 | 194 | fi |
195 | 195 | fi |