Lines Matching refs:localdir
187 def __init__(self, repolink, localdir): argument
188 self.localdir = localdir
206 def __init__(self, repolink, localdir=None): argument
207 super(PublicAB, self).__init__(repolink, localdir)
208 if localdir is None:
209 self.localdir = os.path.join(os.environ['BUILDDIR'], 'PublicABMirror')
233 self.wget(link, self.localdir, localname)
235 def wget(self, link, localdir, localname=None, extraargs=None): argument
244 wget_cmd += " -P %s '%s'" % (localdir, link)
274 postconfig = "DEPLOY_DIR_IMAGE = \"%s\"" % self.repo.localdir
299 log.info("Creating directory structure %s" % self.repo.localdir)
300 if not os.path.exists(self.repo.localdir):
301 os.makedirs(self.repo.localdir)
314 filepath = os.path.join(self.repo.localdir, files_dict[f])