jlj-qmk/util/qmk_install.sh
Taylor Gonzalez bb4af7deee Fix qmk_install.sh to properly target MSYS (#3455)
* qmk_install fix for windows users.

* Updated wildcard to caputre both MSYS and MINGW64 in qmk_install

* added OR to windows qmk_install
2018-08-02 14:43:51 -07:00

17 lines
281 B
Bash
Executable File

#!/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"
;;
MSYS_NT*|MINGW_64*)
exec "${util_dir}/msys2_install.sh"
;;
esac