Chromium Code Reviews| Index: src/scripts/common.sh |
| diff --git a/src/scripts/common.sh b/src/scripts/common.sh |
| index e613df58ebdbb4cbff1d18452d88e4dcb94cb740..07b5cbb70646ae90d272731ea54c88d2b4c20cca 100644 |
| --- a/src/scripts/common.sh |
| +++ b/src/scripts/common.sh |
| @@ -224,3 +224,14 @@ is_whitelisted() { |
| || /bin/true) |
| test $count -ne 0 |
| } |
| + |
| +V_RED="\e[31m" |
| +V_YELLOW="\e[33m" |
| + |
| +function warn { |
| + echo -e "${V_YELLOW}Warning..: $1${V_VIDOFF}" |
| +} |
| + |
| +function error { |
| + echo -e "${V_RED}Error....: $1${V_VIDOFF}" |
| +} |