commit e06247a082a05fa63d7f4937f609e9384ece4c0b
Author: Elan Ruusamäe <[email protected]>
Date:   Fri Oct 7 18:37:34 2011 +0000

    - reindent
    
    Changed files:
        client/make-request.sh -> 1.100

 make-request.sh | 72 ++++++++++++++++++++++++++++-----------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/make-request.sh b/make-request.sh
index 49a0e75..b79854b 100755
--- a/make-request.sh
+++ b/make-request.sh
@@ -616,45 +616,45 @@ gen_req() {
                depend=$bid
        fi
 
-               if [ "$f_upgrade" = "yes" ] ; then
-                       msg "Upgrade mode: $f_upgrade"
-               fi
+       if [ "$f_upgrade" = "yes" ] ; then
+               msg "Upgrade mode: $f_upgrade"
+       fi
 
-               for s in $specs; do
-                       # skip marker
-                       if [ "$s" = "^" ]; then
-                               depend=
-                               continue
-                       fi
-                       if [ "$no_depend" = yes ]; then
-                               depend=
-                       fi
-                       bid=$(uuidgen)
-                       echo "  <batch id='$bid' depends-on='$depend'>"
-
-                       name=$(echo "$s" | sed -e 's|:.*||')
-                       branch=$(echo "$s" | sed -e 's|.*:||')
-                       msg "Adding #$i $name:$branch${kernel:+ 
alt_kernel=$kernel}${target:+ target=$target}${depend:+ depends on $depend}"
-                       echo "           <spec>$name</spec>"
-                       echo "           <branch>$branch</branch>"
-                       echo "           ${kernel:+<kernel>$kernel</kernel>}"
-                       echo "           ${target:+<target>$target</target>}"
-                       echo "           <info></info>"
-                       echo
-                       for b in $with; do
-                               echo "           <with>$b</with>"
-                       done
-                       for b in $without; do
-                               echo "           <without>$b</without>"
-                       done
-                       echo
-                       echo "$builders_xml"
-                       echo "  </batch>"
-                       i=$((i+1))
+       for s in $specs; do
+               # skip marker
+               if [ "$s" = "^" ]; then
+                       depend=
+                       continue
+               fi
+               if [ "$no_depend" = yes ]; then
+                       depend=
+               fi
+               bid=$(uuidgen)
+               echo "  <batch id='$bid' depends-on='$depend'>"
 
-                       # let next job depend on previous
-                       depend=$bid
+               name=$(echo "$s" | sed -e 's|:.*||')
+               branch=$(echo "$s" | sed -e 's|.*:||')
+               msg "Adding #$i $name:$branch${kernel:+ 
alt_kernel=$kernel}${target:+ target=$target}${depend:+ depends on $depend}"
+               echo "           <spec>$name</spec>"
+               echo "           <branch>$branch</branch>"
+               echo "           ${kernel:+<kernel>$kernel</kernel>}"
+               echo "           ${target:+<target>$target</target>}"
+               echo "           <info></info>"
+               echo
+               for b in $with; do
+                       echo "           <with>$b</with>"
+               done
+               for b in $without; do
+                       echo "           <without>$b</without>"
                done
+               echo
+               echo "$builders_xml"
+               echo "  </batch>"
+               i=$((i+1))
+
+               # let next job depend on previous
+               depend=$bid
+       done
 
        if [ "$post_command" ]; then
                bid=$(uuidgen)
================================================================

---- 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