瀏覽代碼

下载于hash

lyhzzz 3 月之前
父節點
當前提交
84d41310e0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/fdkankan/fusion/common/util/ShellUtil.java

+ 1 - 1
src/main/java/com/fdkankan/fusion/common/util/ShellUtil.java

@@ -120,7 +120,7 @@ public class ShellUtil {
 
     public static void zip(String zipPath, String dataPath) {
         log.info("打包zip开始");
-        String command = "cd " + dataPath + " &&zip -r -m " + zipPath + "  " ;
+        String command = "cd " + dataPath + " &&zip -r -m " + zipPath + " * " ;
         execCmd(command);
         log.info("打包zip完毕:" + command);
     }