aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--editors/openoffice-1.1-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice-1.1/files/openoffice-wrapper10
-rw-r--r--editors/openoffice-2.0-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice-3-devel/files/openoffice-wrapper8
-rw-r--r--editors/openoffice-3/files/openoffice-wrapper10
-rw-r--r--editors/openoffice-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-1.1-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-1.1/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-2-RC/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-2-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-2.0-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-2.0/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-2/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-3-RC/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-3-devel/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-3/files/openoffice-wrapper10
-rw-r--r--editors/openoffice.org-vcltesttool/files/openoffice-wrapper10
17 files changed, 118 insertions, 50 deletions
diff --git a/editors/openoffice-1.1-devel/files/openoffice-wrapper b/editors/openoffice-1.1-devel/files/openoffice-wrapper
index ab39495b87e9..85c541dfa8a8 100644
--- a/editors/openoffice-1.1-devel/files/openoffice-wrapper
+++ b/editors/openoffice-1.1-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice-1.1/files/openoffice-wrapper b/editors/openoffice-1.1/files/openoffice-wrapper
index a23e5f71b60f..de1bd6e7b5be 100644
--- a/editors/openoffice-1.1/files/openoffice-wrapper
+++ b/editors/openoffice-1.1/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-1.1/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice-2.0-devel/files/openoffice-wrapper b/editors/openoffice-2.0-devel/files/openoffice-wrapper
index 03811dd5f43b..19bf8b28dbde 100644
--- a/editors/openoffice-2.0-devel/files/openoffice-wrapper
+++ b/editors/openoffice-2.0-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-2.0-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice-3-devel/files/openoffice-wrapper b/editors/openoffice-3-devel/files/openoffice-wrapper
index 147391298f1c..d4f1f5c2e90a 100644
--- a/editors/openoffice-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice-3-devel/files/openoffice-wrapper
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice-3/files/openoffice-wrapper b/editors/openoffice-3/files/openoffice-wrapper
index 3eb9a5dadabb..2fbc82c17e57 100644
--- a/editors/openoffice-3/files/openoffice-wrapper
+++ b/editors/openoffice-3/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-3/files/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice-devel/files/openoffice-wrapper b/editors/openoffice-devel/files/openoffice-wrapper
index dcd4e2d2105c..2e005b566d8e 100644
--- a/editors/openoffice-devel/files/openoffice-wrapper
+++ b/editors/openoffice-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper
index 5693e944b847..7a1ba2e71b4b 100644
--- a/editors/openoffice.org-1.1-devel/files/openoffice-wrapper
+++ b/editors/openoffice.org-1.1-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-1.1/files/openoffice-wrapper b/editors/openoffice.org-1.1/files/openoffice-wrapper
index e780a65aeeba..f2cb2d07b064 100644
--- a/editors/openoffice.org-1.1/files/openoffice-wrapper
+++ b/editors/openoffice.org-1.1/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-1.1/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-2-RC/files/openoffice-wrapper b/editors/openoffice.org-2-RC/files/openoffice-wrapper
index a0e1c8efe500..765852adc986 100644
--- a/editors/openoffice.org-2-RC/files/openoffice-wrapper
+++ b/editors/openoffice.org-2-RC/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-RC/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-2-devel/files/openoffice-wrapper b/editors/openoffice.org-2-devel/files/openoffice-wrapper
index 235266613d8d..e24792b3178e 100644
--- a/editors/openoffice.org-2-devel/files/openoffice-wrapper
+++ b/editors/openoffice.org-2-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper
index 9f4924c712a2..102cca3fb8e8 100644
--- a/editors/openoffice.org-2.0-devel/files/openoffice-wrapper
+++ b/editors/openoffice.org-2.0-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-2.0/files/openoffice-wrapper b/editors/openoffice.org-2.0/files/openoffice-wrapper
index 13e8160197a3..776e1b2f2846 100644
--- a/editors/openoffice.org-2.0/files/openoffice-wrapper
+++ b/editors/openoffice.org-2.0/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2.0/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-2/files/openoffice-wrapper b/editors/openoffice.org-2/files/openoffice-wrapper
index a2249fa84c5d..2288862c0c09 100644
--- a/editors/openoffice.org-2/files/openoffice-wrapper
+++ b/editors/openoffice.org-2/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-2/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-3-RC/files/openoffice-wrapper b/editors/openoffice.org-3-RC/files/openoffice-wrapper
index b3b6a4ba2df6..b05070d48bff 100644
--- a/editors/openoffice.org-3-RC/files/openoffice-wrapper
+++ b/editors/openoffice.org-3-RC/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-RC/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-3-devel/files/openoffice-wrapper b/editors/openoffice.org-3-devel/files/openoffice-wrapper
index dce65821651b..4f27efa5bc95 100644
--- a/editors/openoffice.org-3-devel/files/openoffice-wrapper
+++ b/editors/openoffice.org-3-devel/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3-devel/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-3/files/openoffice-wrapper b/editors/openoffice.org-3/files/openoffice-wrapper
index fc640b16e686..afabcaaec254 100644
--- a/editors/openoffice.org-3/files/openoffice-wrapper
+++ b/editors/openoffice.org-3/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-3/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac
diff --git a/editors/openoffice.org-vcltesttool/files/openoffice-wrapper b/editors/openoffice.org-vcltesttool/files/openoffice-wrapper
index f1d7b28ffc4c..beaa6b4bc144 100644
--- a/editors/openoffice.org-vcltesttool/files/openoffice-wrapper
+++ b/editors/openoffice.org-vcltesttool/files/openoffice-wrapper
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.3 2003-03-05 23:24:05 mbr Exp $
+# $FreeBSD: /tmp/pcvs/ports/editors/openoffice.org-vcltesttool/files/Attic/openoffice-wrapper,v 1.4 2003-03-28 09:00:55 mbr Exp $
oopath=%%PREFIX%%/OpenOffice.org-%%BUILD_NR%%/program/
program=`echo $0 | sed -e 's|.*-||'`
@@ -9,11 +9,15 @@ if [ ! $LANG ]; then
export LANG=%%LANG%%
fi
+if [ ! -e $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg ]; then
+ touch $HOME/OpenOffice.org1.1Beta/user/config/soffice.cfg
+fi
+
case $program in
$0)
- exec $oopath/soffice "$@"
+ cd $oopath && ./soffice "$@"
;;
*)
- exec $oopath/$program "$@"
+ cd $oopath && exec $program "$@"
;;
esac