mirror of https://github.com/apache/cassandra
return absolute path from resourceToFile
patch by Josh McKenzie; reviewed by jbellis for CASSANDRA-7335
This commit is contained in:
parent
ae8aad4745
commit
fa601bdff0
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue