diff options
author | Drashna Jaelre <drashna@live.com> | 2018-08-11 12:59:26 -0700 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2018-08-11 13:18:36 -0700 |
commit | bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf (patch) | |
tree | f3f85cf4213de91bd615a8102cf1d97933d0a387 /util/qmk_install.sh | |
parent | bcdd7735c8fca998d7d609ebb4be22ee29b6e340 (diff) | |
download | qmk_firmware-bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf.tar.gz qmk_firmware-bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf.zip |
Add WSL support to script
Diffstat (limited to 'util/qmk_install.sh')
-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 fede835dbc..fefbc6f861 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*) |