]> git.eshelyaron.com Git - emacs.git/commit
Simplify autogen.sh version checking
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jun 2017 15:18:08 +0000 (08:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Jun 2017 15:18:55 +0000 (08:18 -0700)
commit6fcbbc393eced8350f6d4679d8070bfc48244aab
treed33fc2f9ad373050b25de6429a833bd64d4959e7
parentefa2b08dcbf0177ef5bc21216ddd3876a9fc79e3
Simplify autogen.sh version checking

* autogen.sh (get_version): Simplify and make more reliable
by using expr rather than echo | sed.  Check exit status of program.
Run program in subshell in case it cannot be executed.
(check_version): Check exit status of command rather than its output.
Check return status of get_version.
autogen.sh