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:
8187ac7
)
typo fix
author
Gui Chen
<gui.chen@intel.com>
Tue, 6 May 2014 07:06:43 +0000
(
03:06
-0400)
committer
Gui Chen
<gui.chen@intel.com>
Tue, 6 May 2014 07:06:43 +0000
(
03:06
-0400)
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
d506b92
..
4ee531b
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)