From ee2c1b181a70141e52587b316eace00c0c3a9332 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 29 Jan 2007 03:44:23 +0000 Subject: [PATCH] Clean up sed usage a tiny bit (don't use cat). svn path=/trunk/yasm/; revision=1746 --- tools/python-yasm/Makefile.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/python-yasm/Makefile.inc b/tools/python-yasm/Makefile.inc index 53c0c675..a2f787af 100644 --- a/tools/python-yasm/Makefile.inc +++ b/tools/python-yasm/Makefile.inc @@ -35,9 +35,8 @@ CLEANFILES += _yasm.pxi # Need to build a local copy of the main Pyrex input file to include _yasm.pxi # from the build directory. Also need to fixup the other .pxi include paths. yasm.pyx: $(srcdir)/tools/python-yasm/yasm.pyx - cat $(srcdir)/tools/python-yasm/yasm.pyx \ - | sed -e 's,^include "\([^_]\),include "${srcdir}/tools/python-yasm/\1,' \ - > $@ + sed -e 's,^include "\([^_]\),include "${srcdir}/tools/python-yasm/\1,' \ + $(srcdir)/tools/python-yasm/yasm.pyx > $@ CLEANFILES += yasm.pyx -- 2.40.0