make sure install scripts are executable

Submitted by:	Ceri Davies
This commit is contained in:
Sam Leffler 2006-03-21 15:50:08 +00:00
parent aba5d3810d
commit cbfec51a4b

View File

@ -1117,7 +1117,8 @@ doTARBALL:
> ${RD}/dists/${TD}/$$tn.inf && \
if [ -f ${.CURDIR}/scripts/$${TD}-install.sh ]; then \
cp -p ${.CURDIR}/scripts/$${TD}-install.sh \
${RD}/dists/${TD}/install.sh; \
${RD}/dists/${TD}/install.sh && \
chmod +x ${RD}/dists/${TD}/install.sh; \
fi && \
if [ "${SD}" != "/usr/src" ]; then \
mtree -c -i -p ${SD}/${ARG} \