[TIC-CORE] Set the default installation packages
[archive/20170607/tools/tic-core.git] / tic / utils / file.py
index 06e6727..b1cf3ac 100644 (file)
@@ -50,4 +50,6 @@ def copyfile(src, dst, filename=None):
     if filename:
         abs_dst = os.path.join(abs_dst, filename)
     shutil.copy(src, abs_dst)
+    if filename:
+        return abs_dst
     return os.path.join(abs_dst, os.path.basename(src))
\ No newline at end of file