diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-24 10:22:13 +0100 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-01-24 10:22:13 +0100 |
| commit | 528d66680432d772bf01a3dbc043d2477bfe8d57 (patch) | |
| tree | 6a639c6dfc9f253332973332fb470d26d4fdff9d | |
| parent | workflows/ci: test on macOS (diff) | |
| download | config-links-528d66680432d772bf01a3dbc043d2477bfe8d57.tar.gz config-links-528d66680432d772bf01a3dbc043d2477bfe8d57.zip | |
os.sh: no need to use uname here
| -rw-r--r-- | src/os.sh | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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() { |
