replicant-vendor_replicant/tools/functions
Chirayu Desai 39cb878292 otatools: build-with-colors
- add new file for common functions and stuff
 - though it doesn't contain any function now ;)
- red color for errors
- yellow color for "Optimizing: *"
- cyan color for modversion :)
- green color for "package complete"
- and some general cleanup

Change-Id: I83b2e352580e99b1766c5e63821281224cde5c49
2012-10-14 14:25:53 +05:30

16 lines
229 B
Bash

#!/bin/bash
# Common functions for CM otatools
#
# cdesai
if [ ! "$BUILD_WITH_COLORS" = "0" ];
then
CL_RED="\033[31m"
CL_GRN="\033[32m"
CL_YLW="\033[33m"
CL_BLU="\033[34m"
CL_MAG="\033[35m"
CL_CYN="\033[36m"
CL_RST="\033[0m"
fi