2018-03-06 22:37:48 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# Pick the correct install script based on the current OS
|
|
|
|
|
|
|
|
util_dir=$(dirname "$0")
|
|
|
|
|
|
|
|
case $(uname) in
|
|
|
|
Darwin)
|
|
|
|
exec "${util_dir}/macos_install.sh"
|
|
|
|
;;
|
|
|
|
Linux)
|
|
|
|
exec "${util_dir}/linux_install.sh"
|
|
|
|
;;
|
2018-08-11 19:47:25 +00:00
|
|
|
MSYS_NT*|MINGW64_NT*|MINGW32_NT*)
|
2018-03-06 22:37:48 +00:00
|
|
|
exec "${util_dir}/msys2_install.sh"
|
|
|
|
;;
|
2018-08-11 19:52:09 +00:00
|
|
|
*)
|
|
|
|
echo "Environment not support. Pleas see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools"
|
2018-03-06 22:37:48 +00:00
|
|
|
esac
|