return absolute path from resourceToFile

patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7335
This commit is contained in:
Jonathan Ellis 2014-06-12 12:00:37 -05:00
parent ae8aad4745
commit fa601bdff0
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ public class FBUtilities
if (scpurl == null)
throw new ConfigurationException("unable to locate " + filename);
return scpurl.getFile();
return new File(scpurl.getFile()).getAbsolutePath();
}
public static File cassandraTriggerDir()