[Lunar-commits] CVS: moonbase/compilers/ocaml BUILD,1.4,1.5

Auke Kok sofar at lunar-linux.org
Sun Aug 8 20:15:11 GMT 2004


Joel Vennin wrote:

>make a fix around the head command. In fact, sine the coreutils update
>the head has changed some line arguments. the head -1 is now obsolete. 
>You should use head -n 1.
>  
>

>  sedit "s/tk_wanted=yes/tk_wanted=no/" configure &&
>+ sedit "s/head -1/head -n 1/" camlp4/tools/apply.sh &&
>+ sedit "s/head -1/head -n 1/" camlp4/tools/camlp4_comm.sh &&
>+ sedit "s/head -1/head -n 1/" camlp4/tools/conv.sh &&
>


just a heads up but this entire patch could be one single line as follows:

+ sedit "s/head -1/head -n 1/" camlp4/tools/apply.sh 
camlp4/tools/camlp4_comm.sh camlp4/tools/conv.sh

because sedit can handle multiple files.... as a matter of fact the 
following prolly would even be easier:

+ sedit "s/head -1/head -n 1/" camlp4/tools/*.sh


sofar



More information about the Lunar-dev mailing list