forked from Mirror/pmbootstrap
get_upstream_aport: change arg to pkgname (!1811)
This commit is contained in:
parent
c3a9452ccb
commit
3ce1ea277c
4 changed files with 24 additions and 12 deletions
|
@ -24,7 +24,7 @@ import pmb.helpers.run
|
|||
def generate(args, pkgname):
|
||||
# Copy original aport
|
||||
arch = pkgname.split("-")[1]
|
||||
upstream = pmb.aportgen.core.get_upstream_aport(args, "main/binutils")
|
||||
upstream = pmb.aportgen.core.get_upstream_aport(args, "binutils")
|
||||
pmb.helpers.run.user(args, ["cp", "-r", upstream, args.work + "/aportgen"])
|
||||
|
||||
# Architectures to build this package for
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue