[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#416437: typo



This turns out to be a typo in the dpkg-buildpackage usage() call.

Fixed in CVS for dpkg-cross 1.39.

Index: dpkg-buildpackage
===================================================================
RCS file: /cvsroot/dpkg-cross/dpkg-cross/dpkg-buildpackage,v
retrieving revision 1.17
diff -p -u -b -B -r1.17 dpkg-buildpackage
--- dpkg-buildpackage   24 Jul 2006 13:10:42 -0000      1.17
+++ dpkg-buildpackage   5 Jul 2007 20:31:08 -0000
@@ -21,7 +21,7 @@
 #  along with this program; if not, write to the Free Software
 #  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 #
-#  $Id: dpkg-buildpackage,v 1.17 2006-07-24 13:10:42 yoush Exp $
+#  $Id: dpkg-buildpackage,v 1.17 2006/07/24 13:10:42 yoush Exp $
 
 require "dpkg-cross.pl";
 
@@ -30,7 +30,7 @@ $signcommand = (-e "$ENV{'HOME'}/.gnupg/
 # Scan arguments for the ones we're interested in.
 $do_setup = 0;
 foreach $arg ( @ARGV ) {
-       usage() if $arg =~ /^-h/;
+       usage() if ($arg =~ /^-h|--help/);
        if ($arg =~ /^-a/) {
                $arch = $';
                $do_setup = 1;
@@ -160,7 +160,7 @@ sub usage {
        # print original message
        system "dpkg-buildpackage.orig -h";
        # and our comments...
-       print STDERR <<'EOF';
+       print STDERR <<EOF;


-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpKYQI5SPv9G.pgp
Description: PGP signature


Reply to: