BugID:17646749:[build-rules] add PLAIN_LOG=1 option to strip color control
@@ -54,7 +54,9 @@ define Brief_Log
elif [ "$1" = "ST" ]; then \
COLOR_MARK="\033[0;33m"; \
fi; \
+ if [ "$(PLAIN_LOG)" != "1" ]; then \
echo -ne "$${COLOR_MARK}"; \
+ fi; \
if [ "$2" = "" ]; then \
FIRST_DEP="$(firstword $(filter-out FORCE,$?))"; \
SPACE_BAR=" "; \
@@ -72,7 +74,9 @@ define Brief_Log
fi \
done; \
fi; \
+ if [ "$(PLAIN_LOG)" != "1" ]; then \
echo -ne "\033[0m"; \
+ fi; \
)
endef
