]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- support --without bcond1,bcond2
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 9 Oct 2005 20:17:01 +0000 (20:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.336

builder.sh

index 7e78baca63221c4bbc1acde927282cf190d7cbc4..331d3a5c61474fb72ddbff4979ba10edbfaa2e3f 100644 (file)
@@ -1548,7 +1548,14 @@ do
                                                shift
                                        done;;
                                "no")
-                                       BCOND="$BCOND $1 $2" ; shift 2 ;;
+                                       if [[ "$2" = *,* ]]; then
+                                                for a in $(echo "$2" | tr , ' '); do
+                                                         BCOND="$BCOND $1 $a"
+                                                done
+                                       else
+                                                BCOND="$BCOND $1 $2"
+                                       fi
+                                       shift 2 ;;
                        esac
                        ;;
                --target )
This page took 0.038835 seconds and 4 git commands to generate.