diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-11 18:26:11 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-11 18:26:11 +0000 |
commit | 8afe339a41c898cc4a2d42d03d115b16f2053bad (patch) | |
tree | 503967a0dd5d7fcc008c930139090db4d3406d31 | |
parent | da45ea6664c835880f8dde69fc1be3c0136b0991 (diff) |
Get the multi-inclusion code right this time. This broke mac68k builds,
as found by Takeshi Morimoto <takeshim@kyoto.zaq.ne.jp>
-rw-r--r-- | sys/kern/genassym.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/genassym.sh b/sys/kern/genassym.sh index 6229d79037b..a4a60f64755 100644 --- a/sys/kern/genassym.sh +++ b/sys/kern/genassym.sh @@ -1,4 +1,4 @@ -# $OpenBSD: genassym.sh,v 1.4 2001/08/30 22:05:57 miod Exp $ +# $OpenBSD: genassym.sh,v 1.5 2001/09/11 18:26:10 miod Exp $ # $NetBSD: genassym.sh,v 1.7 1997/06/25 03:09:06 thorpej Exp $ # @@ -62,9 +62,9 @@ $0 ~ /^[ \t]*#.*/ || $0 ~ /^[ \t]*$/ { defining = 0; printf("}\n"); } - if (includes[$0] == 0) { + if (includes[$2] == 0) { printf("#%s\n", $0); - includes[$0] = 1; + includes[$2] = 1; } next; } |