]> git.pld-linux.org Git - packages/rpm-build-tools.git/blobdiff - builder.sh
do exact bcond match when reporting active bconds
[packages/rpm-build-tools.git] / builder.sh
index 2daade8e6eb278a629bd93cfdd854139488922b3..ed2184b002f16c5cff79919780d4d2f9a473eb27 100755 (executable)
@@ -1824,7 +1824,7 @@ set_bconds_values() {
                without_*)
                        bcond=${opt#without_}
                        case "$BCOND" in
-                       *--without?${bcond}*)
+                       *--without?${bcond}\ *|*--without?${bcond})
                                AVAIL_BCONDS_WITHOUT="$AVAIL_BCONDS_WITHOUT <$bcond>"
                                ;;
                        *)
@@ -1835,7 +1835,7 @@ set_bconds_values() {
                with_*)
                        bcond=${opt#with_}
                        case "$BCOND" in
-                       *--with?${bcond}*)
+                       *--with?${bcond}\ *|*--with?${bcond})
                                AVAIL_BCONDS_WITH="$AVAIL_BCONDS_WITH <$bcond>"
                                ;;
                        *)
This page took 1.204587 seconds and 4 git commands to generate.