debrepack.py: s/untar_cmd/tar_cmd/

The untar_cmd has been replaced by tar_cmd

Story: 2008846
Task: 43138

Signed-off-by: Yue Tao <yue.tao@windriver.com>
Change-Id: I5ad0ddcdcc99d80aad5e95a252da0c0e48671671
This commit is contained in:
Yue Tao 2021-12-05 08:56:41 +08:00
parent e29aaedf3f
commit 022d3e739e

View File

@ -503,7 +503,7 @@ class Parser():
self.logger.error("The md5sum of %s is %s, but %s is expected", tarball_file, md5sum, tarball_md5sum)
raise ValueError(f"The md5sum of {tarball_file} is {md5sum}, but {tarball_md5sum} is expected")
cmd, _, _ = untar_cmd(tarball_name)
cmd, _, _ = tar_cmd(tarball_name)
# The tar ball has top directory
if get_topdir(tarball_file, self.logger) is not None:
# Remove the top diretory