[Libreoffice-commits] .: set_soenv.in

Tor Lillqvist tml at kemper.freedesktop.org
Thu Jun 9 14:46:33 PDT 2011


 set_soenv.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8098306edb682323f6098b4ce2561fbfbf0e0fe8
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Jun 10 00:46:15 2011 +0300

    Don't use undefined variable

diff --git a/set_soenv.in b/set_soenv.in
index 8900201..2abc67b 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -1741,7 +1741,7 @@ ToFile( "SOLARINC",          $SOLARINC,          "e" );
 ToFile( "COMP_ENV",          $COMP_ENV,          "e" );
 ToFile( "JAVAHOME",          $JAVAHOME,          "e" );
 ToFile( "CC",                $CC,                "e" );
-ToFile( "SYSBASE",           "$ENV{SYSBASE}",    "e" );
+ToFile( "SYSBASE",           "$ENV{SYSBASE}",    "e" ) if defined $ENV{SYSBASE};
 ToFile( "CROSS_COMPILING",   "@CROSS_COMPILING@","e" );
 ToFile( "AR",                "@AR@",             "e" );
 ToFile( "DLLTOOL",           "@DLLTOOL@",        "e" );


More information about the Libreoffice-commits mailing list