Using absolute paths in generated diff commands, to ease running them from any directory.

This commit is contained in:
Khalid Shakir 2014-02-27 04:43:29 +08:00
parent c163e6d0d2
commit da587d48ed
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ public class MD5DB {
for ( String dir : Arrays.asList(GLOBAL_MD5_DB_DIR, LOCAL_MD5_DB_DIR)) {
File f = getFileForMD5(md5, dir);
if ( f.exists() && f.canRead() )
return f.getPath();
return f.getAbsolutePath();
}
return valueIfNotFound;