summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-08-27 11:31:33 +0200
committerobo <obo@openoffice.org>2010-08-27 11:31:33 +0200
commit9e685a7e47924f184d076c43acde64548cb5925d (patch)
treec9d4b6919a2d33a1c891c8e4f03372bbca9742e3
parent82fb4b19fa0d7c81a308ae27b55fbf8b428128ae (diff)
masterfix OOO330: #i10000# unknown -B option for Python (Windows)
Notes
Notes: split repo tag: libs-gui_ooo/OOO330_m6
-rwxr-xr-xl10ntools/scripts/xhtex9
-rwxr-xr-xl10ntools/scripts/xtxex8
2 files changed, 16 insertions, 1 deletions
diff --git a/l10ntools/scripts/xhtex b/l10ntools/scripts/xhtex
index ad18d8c94eab..ca307cf2d4a4 100755
--- a/l10ntools/scripts/xhtex
+++ b/l10ntools/scripts/xhtex
@@ -31,9 +31,16 @@ if [ x${SOLARENV}x = xx ]; then
exit 1
fi
+if [ ${GUI} = "WNT" ]; then
+if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
+ exec python $SOLARVERSION/$INPATH/bin/xhtex.py "$@"
+else
+ exec python $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xhtex.py "$@"
+fi
+else
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
exec python -B $SOLARVERSION/$INPATH/bin/xhtex.py "$@"
else
exec python -B $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xhtex.py "$@"
fi
-
+fi
diff --git a/l10ntools/scripts/xtxex b/l10ntools/scripts/xtxex
index 52baab0693d0..fb54c1aee36c 100755
--- a/l10ntools/scripts/xtxex
+++ b/l10ntools/scripts/xtxex
@@ -31,9 +31,17 @@ if [ x${SOLARENV}x = xx ]; then
exit 1
fi
+if [ ${GUI} = "WNT" ]; then
+if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
+ exec python $SOLARVERSION/$INPATH/bin/xtxex.py "$@"
+else
+ exec python $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xtxex.py "$@"
+fi
+else
if [ x${SOLARVER}x = xx -o x${UPDMINOREXT}x = xx ]; then
exec python -B $SOLARVERSION/$INPATH/bin/xtxex.py "$@"
else
exec python -B $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xtxex.py "$@"
fi
+fi