summaryrefslogtreecommitdiffstats
path: root/src/main/java/org
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-09-09 18:32:19 +1000
committermd_5 <git@md-5.net>2017-09-09 18:32:19 +1000
commit76b15f3109d771916f41d6e9433d0fe794a9ed32 (patch)
treea669be5b51e027363ad795cb8f7279c6c2a64afd /src/main/java/org
parent59469f0fef76246025b63f0dd3287cfa19a06505 (diff)
downloadbuildtools-76b15f3109d771916f41d6e9433d0fe794a9ed32.tar
buildtools-76b15f3109d771916f41d6e9433d0fe794a9ed32.tar.gz
buildtools-76b15f3109d771916f41d6e9433d0fe794a9ed32.tar.lz
buildtools-76b15f3109d771916f41d6e9433d0fe794a9ed32.tar.xz
buildtools-76b15f3109d771916f41d6e9433d0fe794a9ed32.zip
BUILDTOOLS-140: # is not a supported path character
Diffstat (limited to 'src/main/java/org')
-rw-r--r--src/main/java/org/spigotmc/builder/Builder.java2
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 774ddad..a6721bf 100644
--- a/src/main/java/org/spigotmc/builder/Builder.java
+++ b/src/main/java/org/spigotmc/builder/Builder.java
@@ -78,7 +78,7 @@ public class Builder
public static void main(String[] args) throws Exception
{
- if ( CWD.getAbsolutePath().contains( "'" ) )
+ if ( CWD.getAbsolutePath().contains( "'" ) || CWD.getAbsolutePath().contains( "#" ) )
{
System.err.println( "Please do not run in a path with special characters!" );
return;