log
This commit is contained in:
parent
8cd159aacb
commit
aa5ae1824d
4
Makefile
4
Makefile
@ -58,8 +58,8 @@ JIR_OUT = $(patsubst %, $(OUT_DIR)/%, $(JIR_PRG))
|
|||||||
|
|
||||||
## FLAGS ###############################
|
## FLAGS ###############################
|
||||||
|
|
||||||
DFLAGS = -O2 -DDISABLE_LOG
|
#DFLAGS = -O2 -DDISABLE_LOG
|
||||||
#DFLAGS = -g -Wall
|
DFLAGS = -g -Wall
|
||||||
|
|
||||||
IFLAGS = $(DFLAGS) -MMD -I$(HPP_DIR) -std=c++11
|
IFLAGS = $(DFLAGS) -MMD -I$(HPP_DIR) -std=c++11
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ LOG_FIC "${CYAN}${SHRINK_CMD} -s ${MAX_KEEP_IN_MAIL} -d ${REP_PIECE_JOINTE} ${IN
|
|||||||
LOG_FIC " - return code ${YELLOW}${JIR_TOKEN}${NC} / ${YELLOW}${JIR_CODE}${NC}"
|
LOG_FIC " - return code ${YELLOW}${JIR_TOKEN}${NC} / ${YELLOW}${JIR_CODE}${NC}"
|
||||||
case "${JIR_TOKEN}" in
|
case "${JIR_TOKEN}" in
|
||||||
"" | no | *Error* | \<* )
|
"" | no | *Error* | \<* )
|
||||||
LOG_FIC " - ${RED}Can't upload <${ATTACH_NAME}> <${ATTACH_CONTENT_TYPE}> <$(wc -c < "${ATTACH_MEDIA}")> (${JIR_TOKEN}). It will be not change in e-mail.${NC}"
|
LOG_FIC " - ${RED}Can't upload <${ATTACH_NAME}> <${ATTACH_CONTENT_TYPE}> <$(wc -c < "${ATTACH_MEDIA}")> (${JIR_TOKEN}) <in.$$.bak>. It will be not change in e-mail.${NC}"
|
||||||
echo "new:"
|
echo "new:"
|
||||||
cp "${INSPECT_DIR}/in.$$" "${INSPECT_DIR}/in.$$.bak"
|
cp "${INSPECT_DIR}/in.$$" "${INSPECT_DIR}/in.$$.bak"
|
||||||
echo "UPLOAD_FAIL" >> "${JIRAFEAU_ERROR}"
|
echo "UPLOAD_FAIL" >> "${JIRAFEAU_ERROR}"
|
||||||
@ -214,8 +214,9 @@ LOG_FIC "${CYAN}${SHRINK_CMD} -s ${MAX_KEEP_IN_MAIL} -d ${REP_PIECE_JOINTE} ${IN
|
|||||||
LOG_FIC " - return code ${YELLOW}${JIR_TOKEN}${NC} / ${YELLOW}${JIR_CODE}${NC}"
|
LOG_FIC " - return code ${YELLOW}${JIR_TOKEN}${NC} / ${YELLOW}${JIR_CODE}${NC}"
|
||||||
case "${JIR_TOKEN}" in
|
case "${JIR_TOKEN}" in
|
||||||
"" | no | *Error* | \<* )
|
"" | no | *Error* | \<* )
|
||||||
LOG_FIC " - ${RED}can't upload archive (${JIR_TOKEN}), substitution couldn't be done${NC}"
|
LOG_FIC " - ${RED}can't upload archive (${JIR_TOKEN}) <in.$$.bak>, substitution couldn't be done${NC}"
|
||||||
echo "arch: bad"
|
echo "arch: bad"
|
||||||
|
cp "${INSPECT_DIR}/in.$$" "${INSPECT_DIR}/in.$$.bak"
|
||||||
echo "ARCHIVE_FAIL" >> "${JIRAFEAU_ERROR}"
|
echo "ARCHIVE_FAIL" >> "${JIRAFEAU_ERROR}"
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
|
Loading…
Reference in New Issue
Block a user