]> git.pld-linux.org Git - projects/pld-builder.new.git/commitdiff
- colors for build mode
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 17 Jun 2012 14:35:30 +0000 (14:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    client/make-request.sh -> 1.105

client/make-request.sh

index 61e172be9cea4a2aae402cda2f99f1762be0fa77..af8ed8896c6ab9cbb45d1cae47723d3e5ae8a52e 100644 (file)
@@ -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
 
This page took 0.071791 seconds and 4 git commands to generate.