From bd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sat, 11 Aug 2018 12:59:26 -0700 Subject: [PATCH] Add WSL support to script --- util/qmk_install.sh | 9 ++++++--- 1 file 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*)