Blacklist more known problematic paths

This commit is contained in:
md_5 2019-04-23 16:38:24 +10:00
parent 91c56cbe6c
commit b987947bd2

View file

@ -86,7 +86,7 @@ public class Builder
public static void main(String[] args) throws Exception
{
if ( CWD.getAbsolutePath().contains( "'" ) || CWD.getAbsolutePath().contains( "#" ) )
if ( CWD.getAbsolutePath().contains( "'" ) || CWD.getAbsolutePath().contains( "#" ) || CWD.getAbsolutePath().contains( "~" ) || CWD.getAbsolutePath().contains( "(" ) || CWD.getAbsolutePath().contains( ")" ) )
{
System.err.println( "Please do not run in a path with special characters!" );
return;