You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
604 B

  1. #!/bin/sh
  2. # Pick the correct install script based on the current OS
  3. util_dir=$(dirname "$0")
  4. case $(uname -a) in
  5. *Darwin*)
  6. exec "${util_dir}/macos_install.sh"
  7. ;;
  8. *FreeBSD*)
  9. exec "${util_dir}/freebsd_install.sh"
  10. ;;
  11. *Linux*)
  12. exec "${util_dir}/linux_install.sh"
  13. ;;
  14. MINGW64_NT*)
  15. exec "${util_dir}/msys2_install.sh"
  16. ;;
  17. MSYS_NT*|MINGW32_NT*)
  18. echo "Please open a MinGW 64-bit terminal window and re-run this script."
  19. exit 1
  20. ;;
  21. *)
  22. echo "Environment not supported. Please see https://docs.qmk.fm for details on how to configure the QMK Firmware build tools manually."
  23. exit 1
  24. ;;
  25. esac