forked from Mirror/pmbootstrap
args.arch_native: remove (MR 2130)
Replace "args.arch_native" with the direct function call in order to avoid passing "args" to all functions. This is a step to get rid of this args-passed-to-all-functions pattern in pmbootstrap.
This commit is contained in:
parent
f2966e62ae
commit
caf7973e24
24 changed files with 57 additions and 64 deletions
|
@ -507,7 +507,7 @@ def shutdown(args):
|
|||
def stats(args):
|
||||
# Chroot suffix
|
||||
suffix = "native"
|
||||
if args.arch != args.arch_native:
|
||||
if args.arch != pmb.config.arch_native:
|
||||
suffix = "buildroot_" + args.arch
|
||||
|
||||
# Install ccache and display stats
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue