summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-14 21:02:49 +0000
committerobrien <obrien@FreeBSD.org>2000-11-14 21:02:49 +0000
commit378089bdffa4e90c14f4225884e0508a6c319e5a (patch)
treead6b80a38bfd7d61ebf7d543e4eab0fc50f2c36f /sys
parent455a2b4476f04055dcf5bf8a71c56c3a4cfcd610 (diff)
downloadFreeBSD-src-378089bdffa4e90c14f4225884e0508a6c319e5a.zip
FreeBSD-src-378089bdffa4e90c14f4225884e0508a6c319e5a.tar.gz
Don't use the Gawkism strftime(). Pass in the date stamp on the awk
command line instead. Approved by: dcs
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/ficl/Makefile3
-rw-r--r--sys/boot/ficl/softwords/softcore.awk2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/boot/ficl/Makefile b/sys/boot/ficl/Makefile
index 2306cbc..95d03f3 100644
--- a/sys/boot/ficl/Makefile
+++ b/sys/boot/ficl/Makefile
@@ -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}
diff --git a/sys/boot/ficl/softwords/softcore.awk b/sys/boot/ficl/softwords/softcore.awk
index 7faa146..8bfb8bf 100644
--- a/sys/boot/ficl/softwords/softcore.awk
+++ b/sys/boot/ficl/softwords/softcore.awk
@@ -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";
OpenPOWER on IntegriCloud