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 53c95ebf31
commit b93f287c86
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,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()