diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-05-29 17:33:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-05-29 17:33:54 +0000 |
commit | 95ac8fad2150d87d684b21d74ed17e24490e57e7 (patch) | |
tree | 80e787ea806428cc018bbcfcfe9a97db48b24133 | |
parent | 376dc738192f94d2fab5c44c70a1d6de5dfb3474 (diff) |
permit the input file to contain " if needed; millert ok
-rw-r--r-- | distrib/special/more/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/special/more/Makefile b/distrib/special/more/Makefile index cb2942e6d0c..cdaedb57f67 100644 --- a/distrib/special/more/Makefile +++ b/distrib/special/more/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.7 2003/05/28 23:17:23 millert Exp $ +# $OpenBSD: Makefile,v 1.8 2003/05/29 17:33:53 deraadt Exp $ PROG= more MAN= @@ -11,7 +11,7 @@ beforedepend: morehelp.h morehelp.h: ${.CURDIR}/more.help echo -n 'const char *more_help = "' > morehelp.h - cat ${.CURDIR}/more.help >> morehelp.h + sed -e 's/[\\"]/\\&/g' -e 's/$$/\\n\\/' ${.CURDIR}/more.help >> morehelp.h echo '";' >> morehelp.h more.o: morehelp.h |