summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/chroot-installation.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh
index 4d1e8f30..3f6a6015 100755
--- a/bin/chroot-installation.sh
+++ b/bin/chroot-installation.sh
@@ -78,7 +78,9 @@ prepare_install_build_depends() {
cat >> $CTMPFILE <<-EOF
$SCRIPT_HEADER
apt-get -y install build-essential
-apt-get -y build-dep $@
+for PACKAGE in $@ ; do
+ apt-get -y build-dep $PACKAGE
+done
EOF
}