| |
@@ -275,7 +275,7 @@
|
| |
mb_toolchain=$TOOLCHAIN
|
| |
mb_sysroot=$SYSROOT
|
| |
mb_cross_compile=$CROSS_COMPILE
|
| |
- mb_shell=$SHELL
|
| |
+ mb_config_shell=$CONFIG_SHELL
|
| |
|
| |
# pkgconf
|
| |
mb_pkgconf=$PKGCONF
|
| |
@@ -685,8 +685,8 @@
|
| |
fi
|
| |
|
| |
# shell
|
| |
- if [ -z "$mb_shell" ]; then
|
| |
- mb_shell='/bin/sh'
|
| |
+ if [ -z "$mb_config_shell" ]; then
|
| |
+ mb_config_shell='/bin/sh'
|
| |
fi
|
| |
|
| |
# inherited cflags & ldflags
|
| |
@@ -1207,7 +1207,7 @@
|
| |
mb_sysroot=${arg#*=}
|
| |
;;
|
| |
--shell=*)
|
| |
- mb_shell=${arg#*=}
|
| |
+ mb_config_shell=${arg#*=}
|
| |
;;
|
| |
--debug)
|
| |
mb_debug=yes
|
| |
When build sofort projects in a chroot where the
SHELL
environment variable is/sbin/nologin
the build will fail.This can be avoided by relying on
CONFIG_SHELL
instead ofSHELL
which matches the behavior of autoconf.https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/config_002estatus-Invocation.html