Don't escape '#' within a print statement as it seems to break with some
awks. Thanks to Hubert Feyrer for the fix!
This commit is contained in:
parent
984894c669
commit
ce04d82646
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.in,v 1.17 2003/09/13 03:50:12 jlam Exp $
|
||||
# $NetBSD: Makefile.in,v 1.18 2003/09/13 17:07:47 jlam Exp $
|
||||
#
|
||||
|
||||
srcdir= @srcdir@
|
||||
|
@ -50,9 +50,9 @@ nbcompat/nbconfig.h: nbcompat/config.h
|
|||
guard = $$0; \
|
||||
sub("^\#[ ]*define[ ]+", "", guard); \
|
||||
sub("[ ]+.*", "", guard); \
|
||||
print "\#ifndef " guard; \
|
||||
print "#ifndef " guard; \
|
||||
print $$0; \
|
||||
print "\#endif"; \
|
||||
print "#endif"; \
|
||||
next; \
|
||||
} \
|
||||
} \
|
||||
|
|
Loading…
Reference in a new issue