Subject: Always deference symlinks when installing some binary includes to fix breakage on amd64.

From: Chris Lamb <[email-masked]>
Date: Sat, 14 Jun 2008 05:25:36 +0100

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

diff --git a/helpers/lh_binary_includes b/helpers/lh_binary_includes
index ba628ef..fc5ff5f 100755
--- a/helpers/lh_binary_includes
+++ b/helpers/lh_binary_includes
@@ -118,13 +118,13 @@ then
 	if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install ] && \
 	ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* > /dev/null 2>&1
 	then
-		cp -r ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* binary
+		cp -r -L ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* binary
 	fi
 
 	if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}" ] && \
 	ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* > /dev/null 2>&1
 	then
-		cp -r ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* binary
+		cp -r -L ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* binary
 	fi
 
 	# Adjusting install templates
-- 
cgit v1.0