Commits

Anonymous committed a775f7a

copy call fixed

  • Participants
  • Parent commits 02ee165

Comments (0)

Files changed (1)

             print("")
             inc = " ".join(include) if isinstance(include, list) else include
             exc = " ".join(exclude) if isinstance(exclude, list) else exclude
-            p = ["copy"]
+            p = ["copy", attrs['export_name'], os.environ.get("PROJECT_PATH", defs["project_path"])]
             if 0 < len(inc):
-                p += ["-i", inc]
+                p += ["-i" + inc]
             if 0 < len(exc):
-                p += ["-x", exc]
-            p += [attrs['export_name'], os.environ.get("PROJECT_PATH", defs["project_path"])]
+                p += ["-x" + exc]
+            print(p)
             ns = parser.parse_args(p)
             ns.verbose = args.verbose
             cmd_copy(ns)