mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Don't use the Gawkism strftime(). Pass in the date stamp on the awk
command line instead. Approved by: dcs
This commit is contained in:
parent
a0d74c6e9d
commit
f9c70d7647
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68729
@ -37,6 +37,7 @@ SOFTWORDS= softcore.fr jhlocal.fr marker.fr freebsd.fr ficllocal.fr \
|
||||
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/${MACHINE_ARCH} -I${.CURDIR}/../common -DFICL_TRACE
|
||||
|
||||
softcore.c: ${SOFTWORDS} softcore.awk
|
||||
(cd ${.CURDIR}/softwords; cat ${SOFTWORDS} | awk -f softcore.awk) > ${.TARGET}
|
||||
(cd ${.CURDIR}/softwords; cat ${SOFTWORDS} \
|
||||
| awk -f softcore.awk -v datestamp="`date`") > ${.TARGET}
|
||||
|
||||
|
||||
|
@ -20,7 +20,7 @@ BEGIN \
|
||||
printf "** Words from CORE set written in FICL\n";
|
||||
printf "** Author: John Sadler (john_sadler@alum.mit.edu)\n";
|
||||
printf "** Created: 27 December 1997\n";
|
||||
printf "** Last update: %s\n", strftime();
|
||||
printf "** Last update: %s\n", datestamp;
|
||||
printf "***************************************************************/\n";
|
||||
printf "\n/*\n";
|
||||
printf "** This file contains definitions that are compiled into the\n";
|
||||
|
Loading…
Reference in New Issue
Block a user