diff options
author | Drashna Jaelre <drashna@live.com> | 2018-08-11 21:59:26 +0200 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2018-08-11 22:18:36 +0200 |
commit | bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf (patch) | |
tree | f3f85cf4213de91bd615a8102cf1d97933d0a387 /util | |
parent | bcdd7735c8fca998d7d609ebb4be22ee29b6e340 (diff) | |
download | qmk_firmware-bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf.tar.gz qmk_firmware-bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf.tar.xz |
Add WSL support to script
Diffstat (limited to 'util')
-rwxr-xr-x | util/qmk_install.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/util/qmk_install.sh b/util/qmk_install.sh index fede835db..fefbc6f86 100755 --- a/util/qmk_install.sh +++ b/util/qmk_install.sh @@ -3,11 +3,14 @@ util_dir=$(dirname "$0") -case $(uname) in - Darwin) +case $(uname -a) in + *Darwin*) exec "${util_dir}/macos_install.sh" ;; - Linux) + *Linux*Microsoft*) + exec "${util_dir}/wsl_install.sh" + ;; + *Linux*) exec "${util_dir}/linux_install.sh" ;; MSYS_NT*|MINGW64_NT*|MINGW32_NT*) |