----- Original Message -----
From: <julien.ri...@gmail.com>
To: <philehol...@googlemail.com>; <d...@gnu.org>; <gra...@percival-music.ca>
Cc: <re...@codereview-hr.appspotmail.com>; <lilypond-devel@gnu.org>
Sent: Wednesday, February 08, 2012 12:56 PM
Subject: Re: Directs makeinfo and texi2html output to logfiles (issue
5645046)
I'm not sure why the run-and-check.sh script needs to be so complicated.
Nor me. But I did a lot of experimentation to get it to work. I think all
the extra redirection and the exec stuff is required because you're running
a command inside a shell script, and so simply trying:
command 2>&1
doesn't work. There's lots of stuff on the net about needing to use exec.
If you don't use eval, the shell tries to run the first "command" it sees,
which is "DEPTH=$(depth)/../" and this fails as a command. So the way round
that was to use eval.
As you know, I'm no unix script expert. But I'd be surprised if there was a
simpler way to actually make this work.
--
Phil Holmes
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel