Check if the various .TXT files exist before trying to copy them.
Oh why did I select a first project that needed to touch release/Makefile.. The fact that my release-building Alpha panics on me does not help either :(
This commit is contained in:
parent
40153af466
commit
8e0bff79d7
@ -527,7 +527,9 @@ ftp.1:
|
||||
@cd ${RD} && find floppies -print | cpio -dumpl ${FD}
|
||||
@cd ${RD}/dists && find . -print | cpio -dumpl ${FD}
|
||||
@for i in ${DIST_DOCS}; do \
|
||||
cp ${.CURDIR}/texts/$${i} ${FD}; \
|
||||
if [ -f ${.CURDIR}/texts/$${i} ]; then \
|
||||
cp ${.CURDIR}/texts/$${i} ${FD}; \
|
||||
fi; \
|
||||
if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
|
||||
echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \
|
||||
cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${FD}/$${i}; \
|
||||
@ -560,7 +562,9 @@ cdrom.1:
|
||||
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC1}/cdrom.inf
|
||||
@echo "CD_VERSION = ${BUILDNAME}" > ${CD_DISC2}/cdrom.inf
|
||||
@for i in ${DIST_DOCS}; do \
|
||||
cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
|
||||
if [ -f ${.CURDIR}/texts/$${i}; then \
|
||||
cp ${.CURDIR}/texts/$${i} ${CD_DISC1}; \
|
||||
fi; \
|
||||
if [ -f ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} ]; then \
|
||||
echo "=== Platform specifics for ${MACHINE_ARCH}" >> ${FD}/$${i}; \
|
||||
cat ${.CURDIR}/texts/${MACHINE_ARCH}/$${i} >> ${CD_DISC1}/$${i}; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user