summaryrefslogtreecommitdiff
path: root/solenv/bin/linkoo
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-02-11 14:23:57 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-02-11 14:23:57 +0000
commit7049fc7cfde7b7c745c33a503cd4b93b46a3a635 (patch)
tree4fb7577ee05f1ecf358d30f03f12ceee7c1aab58 /solenv/bin/linkoo
parent081114596e15ab0e4ddf3e61f0af2068087a15e0 (diff)
INTEGRATION: CWS kendy01 (1.3.70); FILE MERGED
2005/02/09 15:13:10 kendy 1.3.70.2: #i41034# Set STAR_RESOURCEPATH in env. 2005/02/09 14:34:45 kendy 1.3.70.1: #i24253# Let recent-files work even after linkoo.
Diffstat (limited to 'solenv/bin/linkoo')
-rwxr-xr-xsolenv/bin/linkoo17
1 files changed, 15 insertions, 2 deletions
diff --git a/solenv/bin/linkoo b/solenv/bin/linkoo
index 2fd056330..1d4aa1ff4 100755
--- a/solenv/bin/linkoo
+++ b/solenv/bin/linkoo
@@ -12,9 +12,9 @@
#
# $RCSfile: linkoo,v $
#
-# $Revision: 1.4 $
+# $Revision: 1.5 $
#
-# last change: $Author: rt $ $Date: 2005-02-03 08:57:04 $
+# last change: $Author: hr $ $Date: 2005-02-11 15:23:57 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -75,6 +75,7 @@ ulimit -c unlimited
export PATH=".:$PATH"
export LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH"
export GNOME_DISABLE_CRASH_DIALOG=1
+export STAR_RESOURCEPATH=`pwd`/resource
';
my @exceptions = ( 'cppuhelper', 'configmgr', 'cfgmgr', 'sunjavaplugin' );
@@ -237,6 +238,16 @@ sub scan_and_link_files($$$)
print "\n";
}
+sub fixup_evilness
+{
+ my $name = 'librecentfile.so';
+ my $src = "$OOO_BUILD/shell/$TARGET/lib/$name";
+ if (-f $src) {
+ print " link $name\n";
+ symlink $src, "$OOO_BUILD/sfx2/$TARGET/lib/$name";
+ }
+}
+
my $a;
my $usage = 0;
for $a (@ARGV) {
@@ -299,3 +310,5 @@ if (!-f "$OOO_INSTALL/program/env") {
print $env $env_script;
close ($env);
}
+
+fixup_evilness();