summaryrefslogtreecommitdiffstats
path: root/util/qmk_install.sh
blob: 5a1a38fce5b0b309d0fd08a56ae77bb53647a176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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