mirror of
https://hub.spigotmc.org/stash/scm/spigot/buildtools.git
synced 2025-09-18 21:45:56 +00:00
Blacklist more known problematic paths
This commit is contained in:
parent
91c56cbe6c
commit
b987947bd2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue