Skip to content

Commit

Permalink
Don't assume the unix path separator [IMMUTANT-438]
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias committed Apr 29, 2014
1 parent 8ec825e commit a5ecc90
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -118,7 +118,7 @@ public void undeploy(DeploymentUnit unit) {

File findInModulePath(String name) throws Exception {
log.info("TC: module.path is " + System.getProperty("module.path"));
String[] dirs = System.getProperty("module.path").split(":");
String[] dirs = System.getProperty("module.path").split(File.pathSeparator);
for (String dir : dirs) {
File result = new File(dir, name);
log.info("TC: looking for " + result.getCanonicalPath());
Expand Down

0 comments on commit a5ecc90

Please sign in to comment.