From 845638fc63961b8e4b5466c5cb365e9c4cc6dfd9 Mon Sep 17 00:00:00 2001 From: Andrey Fedorushkov Date: Fri, 2 Oct 2015 07:07:08 +0300 Subject: [PATCH] pcbnew: fix not build in linux --- pcbnew/pcbnew.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/pcbnew.cpp b/pcbnew/pcbnew.cpp index ebdbe066be..63f4b4a74b 100644 --- a/pcbnew/pcbnew.cpp +++ b/pcbnew/pcbnew.cpp @@ -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" );