Avoid use of removed variable.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 29 Feb 2008 12:58:20 +0000 (13:58 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 29 Feb 2008 12:58:20 +0000 (13:58 +0100)
source/build/smb_build/makefile.pm

index 96ab789b70f9d5584bc7180c082b37bac03e5fa7..9fedfe9df2de0105688318f449607cacaab0ae1d 100644 (file)
@@ -291,13 +291,11 @@ sub Binary($$)
 {
        my ($self,$ctx) = @_;
 
-       my $extradir = "";
-
        unless (defined($ctx->{INSTALLDIR})) {
        } elsif ($ctx->{INSTALLDIR} eq "SBINDIR") {
-               $self->output("SBIN_PROGS += $installdir/$ctx->{BINARY}\n");
+               $self->output("SBIN_PROGS += bin/$ctx->{BINARY}\n");
        } elsif ($ctx->{INSTALLDIR} eq "BINDIR") {
-               $self->output("BIN_PROGS += $installdir/$ctx->{BINARY}\n");
+               $self->output("BIN_PROGS += bin/$ctx->{BINARY}\n");
        }
 
        $self->output("binaries:: $ctx->{TARGET_BINARY}\n");