Merge branch 'dev' of git@192.168.10.125:nms/nmsclient.git into dev

This commit is contained in:
fangshunjian
2018-11-26 10:49:34 +08:00

View File

@@ -54,7 +54,9 @@ public class GzipUtil {
descFile.mkdirs();
}
if(!descFile.isDirectory()){
throw new Exception("compress destination path is not a directory");
// throw new Exception("compress destination path is not a directory");
descFile=descFile.getParentFile();
destDir=descFile.getAbsolutePath();
}
String tarFile = srcFile.getParent() + File.separator + srcFile.getName().substring(0, srcFile.getName().length()-3);
StringBuffer sb = new StringBuffer();