Commits
md_5 authored 76b15f3109d
71 71 | private static final boolean autocrlf = !"\n".equals( System.getProperty( "line.separator" ) ); |
72 72 | private static boolean dontUpdate; |
73 73 | private static boolean skipCompile; |
74 74 | private static boolean generateSource; |
75 75 | private static boolean generateDocs; |
76 76 | private static boolean dev; |
77 77 | private static String applyPatchesShell = "sh"; |
78 78 | |
79 79 | public static void main(String[] args) throws Exception |
80 80 | { |
81 - | if ( CWD.getAbsolutePath().contains( "'" ) ) |
81 + | if ( CWD.getAbsolutePath().contains( "'" ) || CWD.getAbsolutePath().contains( "#" ) ) |
82 82 | { |
83 83 | System.err.println( "Please do not run in a path with special characters!" ); |
84 84 | return; |
85 85 | } |
86 86 | |
87 87 | if ( false && System.console() == null ) |
88 88 | { |
89 89 | JFrame jFrame = new JFrame(); |
90 90 | jFrame.setTitle( "SpigotMC - BuildTools" ); |
91 91 | jFrame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE ); |