summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-08-11 12:59:26 -0700
committerskullydazed <skullydazed@users.noreply.github.com>2018-08-11 13:18:36 -0700
commitbd4ba8d1808b11deaf3298cec9a1573fbd5e9cdf (patch)
treef3f85cf4213de91bd615a8102cf1d97933d0a387
parentbcdd7735c8fca998d7d609ebb4be22ee29b6e340 (diff)
Add WSL support to script
-rwxr-xr-xutil/qmk_install.sh9
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*)