Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-17 Thread Andreas Bießmann
Dear Michael, On Fri, 14 Oct 2011 16:04:34 +0200, Michael Olbrich wrote: Hi, On Tue, Oct 11, 2011 at 12:16:09PM +0200, andr...@biessmann.de wrote: On Mon, 10 Oct 2011 18:04:56 +0200, Michael Olbrich wrote: snip I've been thinking about this for some time. I don't like preprocessing a lot

Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-17 Thread Andreas Bießmann
On Mon, 17 Oct 2011 08:54:04 +0200, Andreas Bießmann wrote: Dear Michael, On Fri, 14 Oct 2011 16:04:34 +0200, Michael Olbrich wrote: Hi, On Tue, Oct 11, 2011 at 12:16:09PM +0200, andr...@biessmann.de wrote: On Mon, 10 Oct 2011 18:04:56 +0200, Michael Olbrich wrote: snip So how about

Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-17 Thread Andreas Bießmann
Dear Bernhard, On Fri, 14 Oct 2011 17:03:43 +0200, Bernhard Walle wrote: Hi, * Michael Olbrich m.olbr...@pengutronix.de [2011-10-14 16:04]: Hmmm, I just had another idea: How about fixing the environment in ptxdist: mkdir TMP_BIN/ ln -s @PYTHON@ TMP_BIN/python ln -s @SED@ TMP_BIN/sed [...]

Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-17 Thread Bernhard Walle
* Andreas Bießmann andr...@biessmann.de [2011-10-17 09:06]: It's not really nice, but I think it's better than patching lots of tools. And having scripts as executable programs is IMO still better than having to call the interpreter manually (which is necessary with your $PTXDIST_SED

Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-14 Thread Michael Olbrich
Hi, On Tue, Oct 11, 2011 at 12:16:09PM +0200, andr...@biessmann.de wrote: On Mon, 10 Oct 2011 18:04:56 +0200, Michael Olbrich wrote: this fixes migrate on systems where sed is not in /bin/ (e.g. OS X). Signed-off-by: Michael Olbrich m.olbr...@pengutronix.de --- Hi, what about this?

Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-14 Thread Bernhard Walle
Hi, * Michael Olbrich m.olbr...@pengutronix.de [2011-10-14 16:04]: Hmmm, I just had another idea: How about fixing the environment in ptxdist: mkdir TMP_BIN/ ln -s @PYTHON@ TMP_BIN/python ln -s @SED@ TMP_BIN/sed [...] export PATH=TMP_BIN:$PATH [...] just do this as early as possible

Re: [ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-11 Thread andreas
Dear Michael, On Mon, 10 Oct 2011 18:04:56 +0200, Michael Olbrich wrote: this fixes migrate on systems where sed is not in /bin/ (e.g. OS X). Signed-off-by: Michael Olbrich m.olbr...@pengutronix.de --- Hi, what about this? It's less invasive than using autoconf. Well, your solution fixes

[ptxdist] [PATCH] libptxdist: explicitly use sed to run migrate_*

2011-10-10 Thread Michael Olbrich
this fixes migrate on systems where sed is not in /bin/ (e.g. OS X). Signed-off-by: Michael Olbrich m.olbr...@pengutronix.de --- Hi, what about this? It's less invasive than using autoconf. mol scripts/libptxdist.sh |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git