From afc75668daa223634e2588bf9fde56ecc9b05501 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 26 Mar 2016 16:09:16 +1100 Subject: Just check for mostly problematic ' --- src/main/java/org/spigotmc/builder/Builder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spigotmc/builder/Builder.java b/src/main/java/org/spigotmc/builder/Builder.java index 461142c..d747693 100644 --- a/src/main/java/org/spigotmc/builder/Builder.java +++ b/src/main/java/org/spigotmc/builder/Builder.java @@ -77,7 +77,7 @@ public class Builder public static void main(String[] args) throws Exception { - if ( CWD.getAbsolutePath().contains( "'" ) || CWD.getAbsolutePath().contains( ";" ) || CWD.getAbsolutePath().contains( ":" ) || CWD.getAbsolutePath().contains( "!" ) || CWD.getAbsolutePath().contains( "#" ) || CWD.getAbsolutePath().contains( "\"" ) ) + if ( CWD.getAbsolutePath().contains( "'" ) ) { System.err.println( "Please do not run in a path with special characters!" ); return; -- cgit v1.2.3