From 3138b1a4faba120efd082e351d8cef04fcaf6392 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 14 Nov 2012 21:54:42 +0100 Subject: Correcting copying of archive specific apt preferences files, thanks to Thanatermesis (Closes: #693250). --- scripts/build/chroot_archives | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives index 79b4b3964..3785b65ba 100755 --- a/scripts/build/chroot_archives +++ b/scripts/build/chroot_archives @@ -290,7 +290,7 @@ EOF do if [ -e "${FILE}" ] then - cp config/archives/$(basename ${_FILE} .chroot) chroot/etc/apt/preferences.d + cp ${FILE} chroot/etc/apt/preferences.d/$(basename ${FILE} .chroot) fi done fi @@ -847,7 +847,7 @@ EOF do if [ -e "${FILE}" ] then - cp config/archives/$(basename ${_FILE} .binary) chroot/etc/apt/preferences.d + cp ${FILE} chroot/etc/apt/preferences.d/$(basename ${FILE} .binary) fi done fi -- cgit v1.2.3