diff options
| author | Miles Bader | 2014-09-19 15:33:13 +0900 |
|---|---|---|
| committer | Miles Bader | 2017-09-09 12:34:53 +0900 |
| commit | ce9640845155c1dd9c11e46104f223af7cd4f7fa (patch) | |
| tree | 591abc285a03214fbaf522b75e8e240351255620 | |
| parent | b464dab2af90b5ebcf1925fcca144a9ed294e6a3 (diff) | |
| download | emacs-ce9640845155c1dd9c11e46104f223af7cd4f7fa.tar.gz emacs-ce9640845155c1dd9c11e46104f223af7cd4f7fa.zip | |
* admin/quick-install-emacs: Tweak configure.ac parsing
| -rwxr-xr-x | admin/quick-install-emacs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index a5ec6965b19..76b3c646503 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs | |||
| @@ -172,7 +172,10 @@ test x"$prefix" = x && { prefix="`get_config_var prefix`" || exit 4 ; } | |||
| 172 | test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } | 172 | test x"$ARCH" = x && { ARCH="`get_config_var host`" || exit 4 ; } |
| 173 | 173 | ||
| 174 | VERSION=` | 174 | VERSION=` |
| 175 | sed -n 's/^AC_INIT(emacs,[ ]*\([^ )]*\).*/\1/p' <$SRC/configure.ac | 175 | sed -n 's/^AC_INIT([ ]*emacs[ ]*,[ ]*\([^ ),]*\).*/\1/p' <$SRC/configure.ac |
| 176 | ` || exit 4 | ||
| 177 | test -n "$VERSION" || VERSION=` | ||
| 178 | sed -n 's/^AC_INIT([ ]*GNU Emacs[ ]*,[ ]*\([^ ),]*\).*/\1/p' <$SRC/configure.ac | ||
| 176 | ` || exit 4 | 179 | ` || exit 4 |
| 177 | test -n "$VERSION" || { printf '%s\n' >&2 "$me: no version in configure.ac"; exit 4; } | 180 | test -n "$VERSION" || { printf '%s\n' >&2 "$me: no version in configure.ac"; exit 4; } |
| 178 | 181 | ||