From fbcdf13e815a9af1198f7c3fbddacf2c16e71df7 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 30 Mar 2011 16:03:55 +0300 Subject: Kill UPDMINOREXT and simplify --- l10ntools/scripts/localize.pl | 9 +-------- l10ntools/scripts/xhtex | 14 +------------- l10ntools/scripts/xtxex | 15 +-------------- 3 files changed, 3 insertions(+), 35 deletions(-) (limited to 'l10ntools/scripts') diff --git a/l10ntools/scripts/localize.pl b/l10ntools/scripts/localize.pl index cb72944ed8d9..0e36c7af3e4f 100755 --- a/l10ntools/scripts/localize.pl +++ b/l10ntools/scripts/localize.pl @@ -89,14 +89,7 @@ my @sdfparticles; parse_options(); my $binpath = ''; -if( defined $ENV{UPDMINOREXT} ) -{ - $binpath = $ENV{SOLARVER}."/".$ENV{INPATH}."/bin".$ENV{UPDMINOREXT}."/" ; -} -else -{ - $binpath = $ENV{SOLARVER}."/".$ENV{INPATH}."/bin/" ; -} +$binpath = $ENV{SOLARVER}."/".$ENV{INPATH}."/bin/" ; #%sl_modules = fetch_sourcelanguage_dirlist(); diff --git a/l10ntools/scripts/xhtex b/l10ntools/scripts/xhtex index 5409f179777d..acf96ed713b6 100755 --- a/l10ntools/scripts/xhtex +++ b/l10ntools/scripts/xhtex @@ -31,16 +31,4 @@ 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 $SOLARVERSION/$INPATH/bin/xhtex.py "$@" -else - exec python $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xhtex.py "$@" -fi -fi +exec python $SOLARVERSION/$INPATH/bin/xhtex.py "$@" diff --git a/l10ntools/scripts/xtxex b/l10ntools/scripts/xtxex index 39da89fd81ce..2faae55ce965 100755 --- a/l10ntools/scripts/xtxex +++ b/l10ntools/scripts/xtxex @@ -31,17 +31,4 @@ 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 $SOLARVERSION/$INPATH/bin/xtxex.py "$@" -else - exec python $SOLARVERSION/$INPATH/bin$UPDMINOREXT/xtxex.py "$@" -fi -fi - +exec python $SOLARVERSION/$INPATH/bin/xtxex.py "$@" -- cgit