buildroot/package/environment-setup
Krzysztof Kanas 79b4de9f27 package/environment-setup/environment-setup: add zsh
environment-setup uses BASH_SOURCE which is bash specific. For other
shells, this variable is empty, leading to an error message and empty
SDK_PATH.
Zsh Uses $0. Unfortunately POSIX is not specifying how exactly $0
should behave when in sourced (or using special dot utility). So other
shell support have to be implemented in different manner.

Signed-off-by: Krzysztof Kanas <kkanas@fastmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit 65cee90cc3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-09-13 15:37:26 +02:00
..
Config.in.host
environment-setup package/environment-setup/environment-setup: add zsh 2021-09-13 15:37:26 +02:00
environment-setup.mk package/environment-setup: Fix incorrect order of the sed expressions 2021-05-18 22:22:29 +02:00