pcbnew: fix not build in linux

This commit is contained in:
Andrey Fedorushkov 2015-10-02 07:07:08 +03:00
parent 053458b81a
commit 845638fc63
1 changed files with 2 additions and 2 deletions

View File

@ -286,10 +286,10 @@ static bool scriptingSetup()
pypath = Pgm().GetExecutablePath() + wxT( "../lib/python2.7/dist-packages" );
if( !wxIsEmpty( wxGetenv( wxT( "PYTHONPATH" ) ) )
if( !wxIsEmpty( wxGetenv( wxT( "PYTHONPATH" ) ) ) )
pypath = wxString( wxGetenv( wxT( "PYTHONPATH" ) ) ) + wxT( ":" ) + pypath;
wxSetEnv( wxT( "PYTHONPATH" ), pypath );
wxSetEnv( wxT( "PYTHONPATH" ), pypath );
// Add this default search path:
path_frag = Pgm().GetExecutablePath() + wxT( "../share/kicad/scripting/plugins" );