debrepack.py: move os.chdir out of for loop
Change back to "pwd" after the for loop completes. Story: 2008846 Task: 43138 Test Plan: Pass: successfully build the packages, which meta_data.yaml has "dl_files" Signed-off-by: Yue Tao <yue.tao@windriver.com> Change-Id: I7273557afe37295b81cad681618035a31e7c6ec2
This commit is contained in:
parent
0a8e06ad08
commit
bef490f0d4
@ -434,7 +434,7 @@ class Parser():
|
||||
|
||||
run_shell_cmd('cp -rL %s %s' % (dl_path, self.pkginfo["srcdir"]),
|
||||
self.logger)
|
||||
os.chdir(pwd)
|
||||
os.chdir(pwd)
|
||||
|
||||
files = os.path.join(self.pkginfo["debfolder"], "files")
|
||||
if not os.path.isdir(files) or not os.path.exists(files):
|
||||
|
Loading…
Reference in New Issue
Block a user