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