aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-01-24 11:18:29 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-01-24 11:18:29 +0100
commit40b95e145faf8781cbb12215c07a62c846c214fe (patch)
tree925d1ede98884aff19bfb0c87986be0f438db5b5 /src
parentworkflows: upgrade actions (diff)
parentREADME: update (diff)
downloadconfig-links-40b95e145faf8781cbb12215c07a62c846c214fe.tar.gz
config-links-40b95e145faf8781cbb12215c07a62c846c214fe.zip
Merge tag 'v2.0.2' into debian
Diffstat (limited to '')
-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() {