Explorar el Código

下载于hash

lyhzzz hace 3 meses
padre
commit
84d41310e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }