diff options
author | md_5 <git@md-5.net> | 2016-03-26 16:09:16 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-26 16:09:16 +1100 |
commit | afc75668daa223634e2588bf9fde56ecc9b05501 (patch) | |
tree | 12bbafe678be8897b5ca3ece33b3020281f2fb82 | |
parent | c5115712fd7f021ac06e56dad25012978d29af9d (diff) | |
download | buildtools-afc75668daa223634e2588bf9fde56ecc9b05501.tar buildtools-afc75668daa223634e2588bf9fde56ecc9b05501.tar.gz buildtools-afc75668daa223634e2588bf9fde56ecc9b05501.tar.lz buildtools-afc75668daa223634e2588bf9fde56ecc9b05501.tar.xz buildtools-afc75668daa223634e2588bf9fde56ecc9b05501.zip |
Just check for mostly problematic '
-rw-r--r-- | src/main/java/org/spigotmc/builder/Builder.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; |