summaryrefslogtreecommitdiff
path: root/l10ntools/scripts/xtxex
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
commitfa4b286294a272b085c2f74e12581edc2343fc18 (patch)
treedbf45aab6ba4e244dbfd21567b0988174d799b92 /l10ntools/scripts/xtxex
parent1e6865a751b1fd945e542cd7d873ab0cab139594 (diff)
masterfix OOO330: #i10000# unknown -B option for Python (Windows)
Notes
Notes: split repo tag: libs-gui_ooo/DEV300_m87
Diffstat (limited to 'l10ntools/scripts/xtxex')
-rwxr-xr-xl10ntools/scripts/xtxex8
1 files changed, 8 insertions, 0 deletions
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