fix: build --until couldn't use source repo. (not anymore...)
This commit is contained in:
+6
-2
@@ -866,8 +866,12 @@ def __buildState_buildpackages(pb, last):
|
|||||||
__buildState_installaction(pb, last)
|
__buildState_installaction(pb, last)
|
||||||
pb.build_packages()
|
pb.build_packages()
|
||||||
|
|
||||||
def build_until(pspecfile, state, authinfo=None):
|
def build_until(pspec, state, authinfo=None):
|
||||||
pb = pisi.build.Builder(pspecfile, authinfo)
|
if pspec.endswith('.xml'):
|
||||||
|
pb = Builder(pspec, authinfo)
|
||||||
|
else:
|
||||||
|
pb = Builder.from_name(pspec, authinfo)
|
||||||
|
|
||||||
pb.compile_action_script()
|
pb.compile_action_script()
|
||||||
|
|
||||||
last = pb.get_state()
|
last = pb.get_state()
|
||||||
|
|||||||
Reference in New Issue
Block a user