summaryrefslogtreecommitdiff
path: root/solenv/bin/linkoo
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@suse.com>2013-04-10 18:19:54 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-04-10 20:54:01 +0100
commit2c8cc6e5c600d04ae545af9f9223b88c3a757eee (patch)
treed606b8ae56b2983d13e735e978d727d89c083d62 /solenv/bin/linkoo
parentdc56f97fb462f4da8727861a135c059ccd24fe8d (diff)
linkoo: fix uiconfig linking variously.
allow install dir to be a symlink, and link xmlsec and spa. Change-Id: Iba7b1bc2af22d7282e3c039cf90ccfe79d6c9fc4
Diffstat (limited to 'solenv/bin/linkoo')
-rwxr-xr-xsolenv/bin/linkoo6
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo
index 4cf663e82a95..2bf9f7b2b66d 100755
--- a/solenv/bin/linkoo
+++ b/solenv/bin/linkoo
@@ -449,7 +449,7 @@ sub link_ui_files()
{
push( @files, $File::Find::name );
}
- }, $OOO_INSTALL );
+ }, "$OOO_INSTALL/" );
my @modules = get_modules( $OOO_BUILD, $TARGET );
@@ -488,12 +488,16 @@ sub link_ui_files()
if ( $module_dir eq "sfx" ) { $module = "sfx2"; }
elsif ( $module_dir eq "svt" ) { $module = "svtools"; }
elsif ( $module_dir eq "sw" ) { $module = "sw"; $nb_segments = 3; }
+ elsif ( $module_dir eq "spa" ) { $module = "padmin"; }
+ elsif ( $module_dir eq "xmlsec" ) { $module = "xmlsecurity"; }
$modulepath = "$module/uiconfig";
}
my $subpath = catdir( @dest_dirs[-$nb_segments..-2] );
my $src_dir = "$OOO_BUILD/$modulepath/$subpath";
+# print STDERR "$module_dir : $modulepath : '$src_dir/$name'\n";
+
if ( -e "$src_dir/$name" )
{
do_link ( $src_dir, $dest_dir, $name, $name );