Kaydet (Commit) 8033e334 authored tarafından Miklos Vajna's avatar Miklos Vajna

fix linkoo after moving INPATH to config_host.mk

üst f1c44b84
......@@ -146,20 +146,27 @@ sub sniff_target($)
opendir ($dirhandle, $build_dir) || die "Can't open $build_dir";
while ($fname = readdir ($dirhandle)) {
$fname =~ /Host.sh$/ || next;
my $file;
open ($file, "$build_dir/$fname") || die "Can't open $build_dir/$fname";
while (<$file>) {
/\s*(\S+)\s*=\s*\"(\S+)\"/ || next;
if ($1 eq 'INPATH') {
$target = $2;
}
if ($1 eq 'UPD') {
$libver = $2;
}
}
close ($file);
if ($fname =~ /Host.sh$/) {
my $file;
open ($file, "$build_dir/$fname") || die "Can't open $build_dir/$fname";
while (<$file>) {
/\s*(\S+)\s*=\s*\"(\S+)\"/ || next;
if ($1 eq 'UPD') {
$libver = $2;
}
}
close ($file);
} elsif ($fname =~ /host.mk$/) {
my $file;
open ($file, "$build_dir/$fname") || die "Can't open $build_dir/$fname";
while (<$file>) {
/\s*export\s*(\S+)\s*=\s*\"(\S+)\"/ || next;
if ($1 eq 'INPATH') {
$target = $2;
}
}
close ($file);
}
}
closedir ($dirhandle);
......@@ -438,3 +445,5 @@ if (!-f "$OOO_INSTALL/" . $brand_program_dir . "/ooenv") {
evilness ('do');
print "\nlinkoo finished, please don't forget to source ooenv before ./soffice.\n";
# vim:set shiftwidth=4 softtabstop=4 expandtab:
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