tags 397479 + patch
thanks

This trivial patch allows people who do -B -b to not get bitten; it
simply pays attention to the last option and not the first.

--- /usr/bin/dpkg-buildpackage  2006-06-21 16:08:36.000000000 +0100
+++ /tmp/dpkg-buildpackage      2006-11-08 16:02:50.000000000 +0000
@@ -109,7 +109,7 @@
        -tc)    cleansource=true ;;
        -t*)    targetgnusystem="$value" ;;          # Order DOES matter!
        -nc)    noclean=true; if [ -z "$binaryonly" ]; then binaryonly=-b; fi ;;
-       -b)     binaryonly=-b; [ "$sourceonly" ] && \
+       -b)     binaryonly=-b; checkbuilddep_args=''; binarytarget=binary; [ 
"$sourceonly" ] && \
                        { echo >&2 "$progname: cannot combine $1 and -S" ; exit 
2 ; } ;;
        -B)     binaryonly=-B; checkbuilddep_args=-B; binarytarget=binary-arch; 
[ "$sourceonly" ] && \
                        { echo >&2 "$progname: cannot combine $1 and -S" ; exit 
2 ; } ;;


   Julian



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to