aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 530a7bc..44cb648 100755
--- a/install.sh
+++ b/install.sh
@@ -13,6 +13,12 @@ case "$(uname -s)" in
OpenBSD*)
bin_dir="/usr/local/bin"
;;
+ CYGWIN*)
+ bin_dir="/usr/bin"
+ sudo() {
+ "$@"
+ }
+ ;;
*)
echo "The install file can only be run on linux, mac and openbsd" && exit 1
;;