From a656048e7166f5772e878256276b4bca7bcfaf28 Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Tue, 13 Sep 2016 22:02:16 +0300 Subject: [PATCH] Fix line breaks in apt_extra variable --- chroot-buildpackages.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chroot-buildpackages.sh b/chroot-buildpackages.sh index a773c4fd68..cdd465dee6 100644 --- a/chroot-buildpackages.sh +++ b/chroot-buildpackages.sh @@ -275,8 +275,7 @@ chroot_installpackages() fi unset package_install_target package_checkinstall done - [[ $NO_APT_CACHER != yes ]] && local apt_extra="-o Acquire::http::Proxy=\ - \"http://${APT_PROXY_ADDR:-localhost:3142}\" -o Acquire::http::Proxy::localhost=\"DIRECT\"" + [[ $NO_APT_CACHER != yes ]] && local apt_extra="-o Acquire::http::Proxy=\"http://${APT_PROXY_ADDR:-localhost:3142}\" -o Acquire::http::Proxy::localhost=\"DIRECT\"" cat <<-EOF > $CACHEDIR/sdcard/tmp/install.sh #!/bin/bash [[ "$remote_only" != yes ]] && apt-key add /tmp/buildpkg.key