change the unpack to use the urldata and rootdir parameter - urldata is the FetchData instance - rootdir is the dir to put the extracted source. the original unpack use current dir (os.getcwd) as destination dir, which is not flexible and error-prone (error will occur if caller not chdir to dest dir) Signed-off-by: Yu Ke <ke.yu@intel.com> |
||
---|---|---|
.. | ||
__init__.py | ||
bzr.py | ||
cvs.py | ||
git.py | ||
hg.py | ||
local.py | ||
osc.py | ||
perforce.py | ||
repo.py | ||
ssh.py | ||
svk.py | ||
svn.py | ||
wget.py |