Always deference symlinks when installing some binary includes to fix breakage on amd64.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
f0d589d6a4
commit
88c9e3f922
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue