projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c2e3ca
)
(version): Use sed to extract. Ignore excess after space.
author
Richard Stallman
<rms@gnu.org>
Fri, 23 Oct 1992 22:34:44 +0000
(22:34 +0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 23 Oct 1992 22:34:44 +0000
(22:34 +0000)
From-SVN: r2578
gcc/Makefile.in
patch
|
blob
|
history
diff --git
a/gcc/Makefile.in
b/gcc/Makefile.in
index 363e189384631f908f3d07c5224dacd3425415dd..b91e0701d0439ea57cc054c137962e19554db2b3 100644
(file)
--- a/
gcc/Makefile.in
+++ b/
gcc/Makefile.in
@@
-126,7
+126,7
@@
PREMADE_ATTRTAB =
target= ... `configure' substitutes actual target name here.
xmake_file= ... `configure' substitutes actual x- file name here.
tmake_file= ... `configure' substitutes actual t- file name here.
-version=`
awk '{printf "%s", substr ($$4, 2, length ($$4) - 3); }' $(srcdir)/
version.c`
+version=`
sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' <
version.c`
# Directory where sources are, from where we are.
srcdir = .