Skip to content

Commit 9272ace

Browse files
Fix run cmd
1 parent 8824a60 commit 9272ace

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugins/envsetup

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,7 @@ do_tar_bzip() {
438438
}
439439

440440
run_cmd() {
441-
local chroot_dir="$1"
442-
local command="$2"
441+
local command=$*
443442
do_chroot_ae "$chroot_dir" "$command"
444443
}
445444

@@ -451,4 +450,4 @@ install_pkg()
451450
run_cmd "apt clean"
452451
}
453452

454-
banner
453+
banner

0 commit comments

Comments
 (0)