Kaydet (Commit) 73da209a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Do not remove the destdir prefix in any case

708def7d made that code conditional on !$do_link
so that it worked right for the case where making dev-install calls ooinstall
-l.  However, that code now starts to fail also in the --disable-linkoo case
(where building dev-install calls ooinstall w/o -l).  I have no idea whether
that code serves any real purpose in any actual use case, so remove it
completely for now.
üst f241f91e
......@@ -48,10 +48,6 @@ for $arg (@ARGV) {
# Cwd::realpath does not work if the path does not exist
mkpath($ENV{DESTDIR} . $arg) unless -d $ENV{DESTDIR} . $arg;
$path = Cwd::realpath( $ENV{DESTDIR} . $arg );
if (!$do_link) {
my $destdir = Cwd::realpath( $ENV{DESTDIR} );
$path =~ s|$destdir||;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment