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/schroot-create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/schroot-create.sh') 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