From 46628a8486cf2507a466a97e1c6db1a77a574fae Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 3 Jan 2015 16:36:20 +0100 Subject: use double-quotes so that variables are expanded. (elsewhere this is not needed as the variables are expanded by /bin/cat...) --- bin/reproducible_setup_schroot.sh | 2 +- bin/schroot-create.sh | 2 +- 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 -- cgit v1.2.3-70-g09d2