summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/chroot_tester.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh
index 50e4add5..45f69672 100755
--- a/bin/chroot_tester.sh
+++ b/bin/chroot_tester.sh
@@ -72,7 +72,7 @@ EOF
prepare_install_packages() {
cat >> $CTMPFILE <<-EOF
$SCRIPT_HEADER
-apt-get -y install $1
+apt-get -y install $@
EOF
}
@@ -97,7 +97,8 @@ bootstrap() {
install_packages() {
echo "Installing extra packages for $1 now."
- prepare_install_packages $2
+ shift
+ prepare_install_packages $@
execute_ctmpfile
prepare_install_packages desktop-base
execute_ctmpfile