aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/os.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/os.sh')
-rw-r--r--src/os.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/os.sh b/src/os.sh
index 2f1b4bb..60c0f9a 100644
--- a/src/os.sh
+++ b/src/os.sh
@@ -5,11 +5,8 @@
# Mostly Cygwin-related stuff
-os="$( uname -o )"
-readonly os
-
is_cygwin() {
- test "$os" == 'Cygwin'
+ test "$OSTYPE" == 'cygwin'
}
check_symlinks_enabled_cygwin() {