Remove tilde expansion
Fixes https://gitlab.com/kicad/code/kicad/issues/9213
This commit is contained in:
parent
726f9ebe3d
commit
1d26a29fc0
|
@ -260,11 +260,6 @@ wxString KIwxExpandEnvVars( const wxString& str, const PROJECT* aProject )
|
|||
}
|
||||
}
|
||||
|
||||
#ifndef __WINDOWS__
|
||||
if( strResult.StartsWith( "~" ) )
|
||||
strResult.Replace( "~", wxGetHomeDir(), false );
|
||||
#endif // __WINDOWS__
|
||||
|
||||
return strResult;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue