summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2013-01-12 01:35:04 +0100
committerHolger Levsen <holger@layer-acht.org>2013-01-12 01:35:04 +0100
commitf9d9020bed7f4da048fe37540688d3d610f1b24f (patch)
treedbd2f96bfcba5090f69ea4dff5bbdfb0c7abb2e0
parent329244cc79c8a378865e9b95826415279ed9cc69 (diff)
downloadjenkins.debian.net-f9d9020bed7f4da048fe37540688d3d610f1b24f.tar.xz
fixup: fixup: chroot-installation: install build-depends one by one to not fail on conflicts
-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() {