diff options
-rw-r--r-- | Debian/Debhelper/Dh_Getopt.pm (renamed from Dh_Getopt.pm) | 9 | ||||
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm (renamed from Dh_Lib.pm) | 6 |
2 files changed, 8 insertions, 7 deletions
diff --git a/Dh_Getopt.pm b/Debian/Debhelper/Dh_Getopt.pm index 5084d6f0..1e52109e 100644 --- a/Dh_Getopt.pm +++ b/Debian/Debhelper/Dh_Getopt.pm @@ -4,10 +4,10 @@ # # Joey Hess GPL copyright 1998. -package Dh_Getopt; +package Debian::Debhelper::Dh_Getopt; use strict; -use Dh_Lib; +use Debian::Debhelper::Dh_Lib; use Getopt::Long; use Exporter; #use vars qw{@ISA @EXPORT}; @@ -124,9 +124,10 @@ sub parseopts { "destdir=s" => \$options{DESTDIR}, - "number=s" => \$options{number}, + "number=i" => \$options{PRIORITY}, # deprecated + "priority=i" => \$options{PRIORITY}, - "flavor=s" => \$options{flavor}, + "flavor=s" => \$options{FLAVOR}, "<>" => \&NonOption, ); diff --git a/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index 4c3841cc..915d37af 100644 --- a/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -4,7 +4,7 @@ # # Joey Hess, GPL copyright 1997, 1998. -package Dh_Lib; +package Debian::Debhelper::Dh_Lib; use strict; use Exporter; @@ -35,9 +35,9 @@ sub init { } } if ($parseopt) { - eval "use Dh_Getopt"; + eval "use Debian::Debhelper::Dh_Getopt"; error($!) if $@; - %dh=Dh_Getopt::parseopts(); + %dh=Debian::Debhelper::Dh_Getopt::parseopts(); } # Check to see if DH_VERBOSE environment variable was set, if so, |