]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- ~/.bcondrc: $opt already filtered from + and -
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Jan 2005 19:03:06 +0000 (19:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.300

builder.sh

index 8f483024929028843cb4b203313c83c6a3b5bb61..04bb33ee491ce32f2f4bf981040be487911934c1 100644 (file)
@@ -977,10 +977,10 @@ set_bconds_values()
 
                                        # use only flags which are in this package.
                                        if [[ $AVAIL = *${opt}* ]]; then
-                                               if [[ $flag == -* ]]; then
-                                                       BCOND="$BCOND --without ${opt#-}"
+                                               if [[ $flag = -* ]]; then
+                                                       BCOND="$BCOND --without $opt"
                                                else
-                                                       BCOND="$BCOND --with ${opt#+}"
+                                                       BCOND="$BCOND --with $opt"
                                                fi
                                        fi
                                done
This page took 0.081914 seconds and 4 git commands to generate.