summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-02 18:06:44 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2009-08-02 18:06:44 (GMT)
commit27cdd4367c3099552fa5d3767cc066d516c70d9b (patch)
tree983adca713861f13eb84d927c0b9f83694daec03 /scripts
parentd6195c648305674e568b4e0e4d29692f74335cbc (diff)
[config] Allow user to specify custom CONFIG_SHELL
In case the shell the user wants to use as CONFIG_SHELL is located in a weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4), let the user enter the patch to the shell.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/crosstool-NG.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/crosstool-NG.sh.in b/scripts/crosstool-NG.sh.in
index 988ff79..ad03d2d 100644
--- a/scripts/crosstool-NG.sh.in
+++ b/scripts/crosstool-NG.sh.in
@@ -67,6 +67,7 @@ case "${CT_CONFIG_SHELL}" in
sh) CT_SHELL="/bin/sh";;
ash) CT_SHELL="/bin/ash";;
bash) CT_SHELL="${BASH}";;
+ custom) CT_SHELL="${CT_CONFIG_SHELL_CUSTOM_PATH}";;
esac
# Check the user is using an existing SHELL to be used by ./configure and Makefiles