Updated for self

This commit is contained in:
Dimitris Zlatanidis 2015-08-20 18:56:07 +03:00
parent 2dc6218334
commit 8abda71403
2 changed files with 2 additions and 4 deletions

View file

@ -280,8 +280,7 @@ class SBoInstall(object):
"""Search for binary packages in output directory
"""
find = ""
arch = self.arch
package = "{0}-{1}-{2}_SBo".format(prgnam, arch, build_N)
package = "{0}-{1}-{2}_SBo".format(prgnam, self.arch, build_N)
find = find_package(package, self.meta.output)
return ["".join([self.meta.output] + find)]

View file

@ -219,9 +219,8 @@ class SBoNetwork(object):
"""Install SBo package found in /tmp directory.
"""
find = ""
arch = self.arch
package = "{0}-{1}-{2}_SBo".format(
prgnam, arch, BuildNumber(sbo_url="", pkg=self.name).get())
prgnam, self.arch, BuildNumber(sbo_url="", pkg=self.name).get())
find = find_package(package, self.meta.output)
binary = ["".join([self.meta.output] + find)]
print("[ {0}Installing{1} ] --> {2}".format(self.green,