|
@@ -342,7 +342,7 @@ public class SceneOfflinePackagePushServiceImpl extends ServiceImpl<SceneOffline
|
|
|
FileUtil.mkParentDirs(volumeName);
|
|
|
String[] cmd = {"/bin/sh", "-c", "cd " + dirPath + " && zip -r " + volumeName + " " + num + " -s 20M"};
|
|
|
log.info("压缩命令:{}", cmd);
|
|
|
- RuntimeUtil.exec(cmd);
|
|
|
+ RuntimeUtil.exec(cmd).waitFor();
|
|
|
|
|
|
// ScenePlus scenePlus = scenePlusService.getByNum(num);
|
|
|
// ScenePlusExt scenePlusExt = scenePlusExtService.getByPlusId(scenePlus.getId());
|