commit aa51be8e252e510038e795dcc3683043fa7e16ef
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Jun 17 14:35:30 2012 +0000

    - colors for build mode
    
    Changed files:
        client/make-request.sh -> 1.105

 make-request.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/make-request.sh b/make-request.sh
index 98423db..35b94f9 100755
--- a/make-request.sh
+++ b/make-request.sh
@@ -664,12 +664,18 @@ gen_req() {
                msg "Using jobs $jobs"
                echo "  <maxjobs>$jobs</maxjobs>"
        fi
-       msg "Build mode: $build_mode"
        if [ -z "$url" ]; then
                msg "Using email $builder_email"
        else
                msg "Using URL $url"
        fi
+
+       if [ "$build_mode" = "ready" ]; then
+               msg "Build mode: $(tput setaf 2)$build_mode$c_norm"
+       else
+               msg "Build mode: $(tput setaf 3)$build_mode$c_norm"
+       fi
+
        msg "Queue-ID: $id"
        echo
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to