Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
3868ea09
Commit
3868ea09
authored
Oct 12, 2010
by
Glenn Morris
Browse files
* make-dist: Replace grep with sed when determining $version.
parent
37ea9179
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
make-dist
make-dist
+1
-2
No files found.
make-dist
View file @
3868ea09
...
...
@@ -153,8 +153,7 @@ then
fi
### Find out which version of Emacs this is.
version
=
`
grep
'char emacs_version'
src/emacs.c
\
|
sed
-e
's/^[^"]*"\([^"]*\)".*$/\1/'
`
version
=
`
sed
-n
'/char emacs_version/ s/^[^"]*"\([^"]*\)".*$/\1/p'
src/emacs.c
`
if
[
!
"
${
version
}
"
]
;
then
echo
"
${
progname
}
: can't find current Emacs version in
\`
./src/emacs.c'"
>
&2
exit
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment