Always deference symlinks when installing some binary includes to fix breakage on amd64.
This commit is contained in:
parent
41638d7921
commit
a1caf63a92
|
@ -118,13 +118,13 @@ then
|
||||||
if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install ] && \
|
if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install ] && \
|
||||||
ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* > /dev/null 2>&1
|
ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
cp -r ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* binary
|
cp -r -L ${CP_OPTIONS} "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install/* binary
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}" ] && \
|
if [ -d "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}" ] && \
|
||||||
ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* > /dev/null 2>&1
|
ls "${LH_INCLUDES}"/"${LH_DISTRIBUTION}"/install."${ARCH}"/* > /dev/null 2>&1
|
||||||
then
|
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
|
fi
|
||||||
|
|
||||||
# Adjusting install templates
|
# Adjusting install templates
|
||||||
|
|
Loading…
Reference in New Issue