summaryrefslogtreecommitdiffstats
path: root/bin
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
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')
-rwxr-xr-xbin/reproducible_setup_schroot.sh2
-rwxr-xr-xbin/schroot-create.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_setup_schroot.sh b/bin/reproducible_setup_schroot.sh
index 0dc50ec8..6bb181b8 100755
--- a/bin/reproducible_setup_schroot.sh
+++ b/bin/reproducible_setup_schroot.sh
@@ -53,7 +53,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
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