|
@@ -501,9 +501,6 @@ public class DownloadServiceImpl implements IDownloadService {
|
|
|
String target = String.format("/mnt/scenes/%s", DateExtUtil.format(new Date(), DateExtUtil.dateStyle6));
|
|
|
String cmd = "cd " + sourcePath + " && zip -r " + zipPath + " * && mv -f " + zipPath + " " + target;
|
|
|
CmdUtils.callLineSh(cmd, 200);
|
|
|
- if(!FileUtil.exist(zipPath)){
|
|
|
- throw new RuntimeException("打包失败");
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
}
|