- Fix variable assignment to be portable.

- "Line up" continuations.

Submitted by:	bde
This commit is contained in:
Ruslan Ermilov 2006-03-10 11:00:11 +00:00
parent 764fc0fbfc
commit 6549999b97

View File

@ -76,13 +76,13 @@ osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \
${.CURDIR}/../sys/sys/param.h \ ${.CURDIR}/../sys/sys/param.h \
${.CURDIR}/Makefile ${.CURDIR}/Makefile
@${ECHO} creating osreldate.h from newvers.sh @${ECHO} creating osreldate.h from newvers.sh
@setvar PARAMFILE ${.CURDIR}/../sys/sys/param.h; \ @PARAMFILE=${.CURDIR}/../sys/sys/param.h; \
MAKE=${MAKE} . ${.CURDIR}/../sys/conf/newvers.sh; \ MAKE=${MAKE} . ${.CURDIR}/../sys/conf/newvers.sh; \
echo "$$COPYRIGHT" > osreldate.h; \ echo "$$COPYRIGHT" > osreldate.h; \
echo "#ifdef _KERNEL" >> osreldate.h; \ echo "#ifdef _KERNEL" >> osreldate.h; \
echo '#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"' >> osreldate.h; \ echo '#error "<osreldate.h> cannot be used in the kernel, use <sys/param.h>"' >> osreldate.h; \
echo "#else" >> osreldate.h; \ echo "#else" >> osreldate.h; \
echo \#'undef __FreeBSD_version' >> osreldate.h; \ echo \#'undef __FreeBSD_version' >> osreldate.h; \
echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h; \ echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h; \
echo "#endif" >> osreldate.h echo "#endif" >> osreldate.h