On Sun Sep 09 21:47:48 2007, coke wrote:
> 
> My suggestion would be to modify the code that take the prefix arg to
> silently drop the
> trailing slash; if we're adding in the slash everywhere we need it
> later, this will avoid the
> users having to know the details of our makefile-gen process.
> 

Please review patch attached.  Note:  as yet I haven't tested it.

kid51 



Index: config/init/install.pm
===================================================================
--- config/init/install.pm      (revision 21171)
+++ config/init/install.pm      (working copy)
@@ -66,7 +66,9 @@
     my ( $self, $conf ) = @_;
 
     my $prefix  = $conf->options->get('prefix')      || "/usr/local";
+    $prefix =~ s{/$}{};
     my $ep = $conf->options->get('exec-prefix');
+    $ep =~ s{/$}{};
     my $eprefix = $ep ? $ep : $prefix;
 
     #  --bindir=DIR           user executables [EPREFIX/bin]

Reply via email to