mirror of https://github.com/google/oss-fuzz.git
msan_builder: reload apt package after update.
This commit is contained in:
parent
eb1187fc76
commit
60c7b736ce
|
@ -58,6 +58,10 @@ class Package(object):
|
|||
subprocess.check_call(['apt-get', 'update'])
|
||||
subprocess.check_call(['apt-get', 'build-dep', '-y', self.name])
|
||||
|
||||
# Reload package after update.
|
||||
self.apt_version = (
|
||||
apt.Cache()[self.apt_version.package.name].candidate)
|
||||
|
||||
def DownloadSource(self, download_directory):
|
||||
"""Download the source for a package."""
|
||||
self.PreDownload(download_directory)
|
||||
|
|
Loading…
Reference in New Issue