Add if package created

This commit is contained in:
Dimitris Zlatanidis 2015-09-02 02:27:27 +03:00
parent 3fb39f9710
commit 34b740f6f0
2 changed files with 6 additions and 0 deletions

View file

@ -291,6 +291,9 @@ class SBoInstall(object):
if pkg[:-4].endswith("_SBo") and build1 == build2:
binary = pkg
break
if not find_package(binary, self.meta.output):
self.msg.build_FAILED(prgnam)
raise SystemExit()
return ["".join(self.meta.output + binary)]
def build_install(self):

View file

@ -237,6 +237,9 @@ class SBoNetwork(object):
if pkg[:-4].endswith("_SBo") and build1 == build2:
binary = ["".join(self.meta.output + pkg)]
break
if not find_package(binary, self.meta.output):
self.msg.build_FAILED(prgnam)
raise SystemExit()
print("[ {0}Installing{1} ] --> {2}".format(self.green,
self.endc,
self.name))