projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ce5a8f
)
typo fix
author
Gui Chen
<gui.chen@intel.com>
Tue, 6 May 2014 07:06:43 +0000
(
03:06
-0400)
committer
admin
<yuhuan.yang@samsung.com>
Thu, 4 Feb 2016 09:44:31 +0000
(17:44 +0800)
Change-Id: I0bc9288562694f3a12bb6cf46ffa5c0cadebd236
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/archive.py
patch
|
blob
|
history
diff --git
a/mic/archive.py
b/mic/archive.py
index d506b9254721618308b201d35808883ecc68135d..4ee531be58b75547e64ba6b94e2199cf08615d32 100644
(file)
--- a/
mic/archive.py
+++ b/
mic/archive.py
@@
-423,8
+423,8
@@
def extract_archive(archive_name, target_name):
@target_name: the directory name where the target locates
@retval: the extracting result
"""
- if not os.path.exists(target_
dir
):
- os.makedirs(target_
dir
)
+ if not os.path.exists(target_
name
):
+ os.makedirs(target_
name
)
return _extract_tarball(archive_name, target_name)