We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
run_cmd()
1 parent 271a543 commit 438390eCopy full SHA for 438390e
plugins/envsetup
@@ -438,14 +438,9 @@ do_tar_bzip() {
438
}
439
440
run_cmd() {
441
- do_mount "$chroot_dir"
442
- if [ -d "$chroot_dir" ]; then
443
- cat <<- EOF | $SUDO chroot "$chroot_dir"
444
- $command
445
- EOF
446
- else
447
- die "chroot directory doesn't exist: $chroot_dir"
448
- fi
+ local chroot_dir="$1"
+ local command="$2"
+ do_chroot_ae "$chroot_dir" "$command"
449
450
451
install_pkg()
0 commit comments