summaryrefslogtreecommitdiffstats
path: root/bin/schroot-create.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-03 16:36:20 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-03 16:38:02 +0100
commit46628a8486cf2507a466a97e1c6db1a77a574fae (patch)
treefc6305d8175ab6fac01e661b843c90055b8311d2 /bin/schroot-create.sh
parent7f06f6480b47e251d4f9009d2b2729df1017e274 (diff)
downloadjenkins.debian.net-46628a8486cf2507a466a97e1c6db1a77a574fae.tar.xz
use double-quotes so that variables are expanded.
(elsewhere this is not needed as the variables are expanded by /bin/cat...)
Diffstat (limited to 'bin/schroot-create.sh')
-rwxr-xr-xbin/schroot-create.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index 7d5f3bc1..5e7d8588 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -50,7 +50,7 @@ bootstrap() {
echo -e '#!/bin/sh\nexit 101' | sudo tee $CHROOT_TARGET/usr/sbin/policy-rc.d >/dev/null
sudo chmod +x $CHROOT_TARGET/usr/sbin/policy-rc.d
- echo 'Acquire::http::Proxy "$http_proxy";' | sudo tee $CHROOT_TARGET/etc/apt/apt.conf.d/80proxy >/dev/null
+ echo "Acquire::http::Proxy \"$http_proxy\";" | sudo tee $CHROOT_TARGET/etc/apt/apt.conf.d/80proxy >/dev/null
echo "deb-src $MIRROR $DISTRO main" | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list > /dev/null
echo "${BACKPORTS}" | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list >/dev/null
echo "${BACKPORTSSRC}" | sudo tee -a $CHROOT_TARGET/etc/apt/sources.list >/dev/null