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);
     }