mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
Run version check via eval
... otherwise it fails for autoconf/automake; for some reason, newer Ubuntu 18.10 adds extra quoting around '${SHELL}' in $ac_cv_path_AUTOCONF. Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
parent
ea07954745
commit
88a08bd2fd
@ -18,7 +18,7 @@ AC_DEFUN([CTNG_PROG_VERSION],
|
||||
[ac_cv_path_$1="$$1"
|
||||
CTNG_PATH_ABSNAME([ac_cv_path_$1])
|
||||
CTNG_MSG_LOG_ENVVAR([ac_cv_path_$1])
|
||||
ver=$($ac_cv_path_$1 --version 2>/dev/null)
|
||||
ver=$(eval $ac_cv_path_$1 --version 2>/dev/null)
|
||||
CTNG_MSG_LOG([looking for '[$5]' regexp in])
|
||||
CTNG_MSG_LOG_ENVVAR([ver], [version info for $ac_cv_path_$1])
|
||||
ver=$(AS_ECHO(["$ver"]) | $EGREP '[$5]')
|
||||
|
Loading…
Reference in New Issue
Block a user