The below patch fixes the two mentioned problems:

//start patch

--- /usr/bin/apt-build    2007-04-12 09:41:07.000000000 -0400
+++ apt-build    2007-09-20 16:04:45.000000000 -0400
@@ -43,7 +43,7 @@
 my $VERSION = "0.12.28";
 my ($conf, %conf, @builddep, @apt_args);

[EMAIL PROTECTED] = qw/--yes/;     # and DEFAULT => 1, down in parse_config()
[EMAIL PROTECTED] = qw/-y/;     # and DEFAULT => 1, down in parse_config()

 my @actions = qw/install source remove info update upgrade world
build_source update_source
         clean_sources build_repository clean_build clean_repository moo
find/;       # possible actions
@@ -126,8 +126,8 @@
   --repository-dir  - Specify the repository directory
   --target-release  - Distribution to fetch packages from
   --sources-list    - Specify sources.list file
-  --apt-get         - Specify an alternative apt-get application to use
-  --apt-cache       - Specify an alternative apt-cache application to use
+  --apt_get         - Specify an alternative apt-get application to use
+  --apt_cache       - Specify an alternative apt-cache application to use
   --config          - Specify an alternative configuration file
 ";
     exit 1;


//end patch


Best,
Bryant Wong
--- /usr/bin/apt-build	2007-04-12 09:41:07.000000000 -0400
+++ apt-build	2007-09-20 16:04:45.000000000 -0400
@@ -43,7 +43,7 @@
 my $VERSION = "0.12.28";
 my ($conf, %conf, @builddep, @apt_args);
 
[EMAIL PROTECTED] = qw/--yes/;     # and DEFAULT => 1, down in parse_config()
[EMAIL PROTECTED] = qw/-y/;     # and DEFAULT => 1, down in parse_config()
 
 my @actions = qw/install source remove info update upgrade world build_source update_source
 		clean_sources build_repository clean_build clean_repository moo find/;       # possible actions
@@ -126,8 +126,8 @@
   --repository-dir  - Specify the repository directory
   --target-release  - Distribution to fetch packages from
   --sources-list    - Specify sources.list file
-  --apt-get         - Specify an alternative apt-get application to use
-  --apt-cache       - Specify an alternative apt-cache application to use
+  --apt_get         - Specify an alternative apt-get application to use
+  --apt_cache       - Specify an alternative apt-cache application to use
   --config          - Specify an alternative configuration file
 ";
 	exit 1;

Reply via email to