From e0c48ed338f52632b2a2842a4c598162d5058467 Mon Sep 17 00:00:00 2001
From: Steven Shiau <steven@nchc.org.tw>
Date: Sun, 7 Mar 2010 13:21:27 +0100
Subject: Fixing build failure with indices caching.

---
 helpers/chroot_sources | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/helpers/chroot_sources b/helpers/chroot_sources
index cb046d9..87db111 100755
--- a/helpers/chroot_sources
+++ b/helpers/chroot_sources
@@ -254,7 +254,7 @@ case "${1}" in
 
 			if Find_files cache/indices_bootstrap/trusted.gpg*
 			then
-				cp -f cache/indices_bootstrap/trusted.gpg* chroot/etc/apt
+				cp -rf cache/indices_bootstrap/trusted.gpg* chroot/etc/apt
 			fi
 
 			if [ -f cache/indices_bootstrap/pkgcache.bin ]
@@ -332,7 +332,7 @@ case "${1}" in
 				mkdir -p cache/indices_bootstrap
 
 				cp -f chroot/etc/apt/secring.gpg* cache/indices_bootstrap
-				cp -f chroot/etc/apt/trusted.gpg* cache/indices_bootstrap
+				cp -rf chroot/etc/apt/trusted.gpg* cache/indices_bootstrap
 
 				cp -f chroot/var/cache/apt/pkgcache.bin cache/indices_bootstrap
 
-- 
cgit v1.0