iocaine: renice m rather than mplayer
[cmccabe-bin] / comake
diff --git a/comake b/comake
index 6f13e12..6d570dd 100755 (executable)
--- a/comake
+++ b/comake
@@ -8,7 +8,8 @@ C_GREEN="${_ESC}[32;01m"
 C_YELLOW="${_ESC}[33;01m"
 C_LIGHTBLUE="${_ESC}[36;01m"
 
-exec make "$@" 2>&1 | sed \
+make "$@" 2>&1 | sed \
         -e "s/\(^make.*\)/${C_LIGHTBLUE}\1${C_NULL}/" \
         -e "s/\(.* [Ee]rror:.*\)/${C_RED}\1${C_NULL}/" \
         -e "s/\(.* [Ww]arning:.*\)/${C_YELLOW}\1${C_NULL}/"
+exit ${PIPESTATUS[0]}