Commit ba301c5c by Richard Stallman

Fix sed for version.c to handle both with

and without spaces correctly (MS-DOS).

From-SVN: r4499
parent 0b2fbcb2
...@@ -17,7 +17,7 @@ echo "/\.o[ ]*:/ s/config.status// ">> config.sed ...@@ -17,7 +17,7 @@ echo "/\.o[ ]*:/ s/config.status// ">> config.sed
echo "/^target=/ c\ ">> config.sed echo "/^target=/ c\ ">> config.sed
echo "target=go32 ">> config.sed echo "target=go32 ">> config.sed
echo "/^version=/ c\ ">> config.sed echo "/^version=/ c\ ">> config.sed
sed -e "s/[^\"]*\"/version=/" -e "s/\ .*//" version.c >> config.sed sed -e "s/.*\"\([^ \"]*\)[ \"].*/version=\1/" version.c >> config.sed
echo "s/CC = cc/CC = gcc/ ">> config.sed echo "s/CC = cc/CC = gcc/ ">> config.sed
echo "s/:\$/: \$/g ">> config.sed echo "s/:\$/: \$/g ">> config.sed
echo "s/^ \ *\.\// go32 / ">> config.sed echo "s/^ \ *\.\// go32 / ">> config.sed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment