mirror of
https://github.com/edu4rdshl/blackarch-devtools.git
synced 2026-07-17 23:24:47 +00:00
Fix chroot instance when build package.
This commit is contained in:
parent
9d3e865562
commit
76eec0e649
1 changed files with 2 additions and 2 deletions
|
|
@ -156,9 +156,9 @@ pub fn build_package() {
|
|||
update_chroot_packages();
|
||||
let devtools_makechrootpkg = get_vars("makechrootpkg");
|
||||
let chroot_dir = get_vars("chroot_dir");
|
||||
let chroot_blackarch = get_vars("chroot_blackarch");
|
||||
let blackarch_instance = get_vars("blackarch_instance");
|
||||
let build_package = Command::new(&devtools_makechrootpkg)
|
||||
.args(&["-l", &chroot_blackarch, "-r", &chroot_dir])
|
||||
.args(&["-l", &blackarch_instance, "-r", &chroot_dir])
|
||||
.status()
|
||||
.expect("Failed to build the package.");
|
||||
if build_package.success() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue