diff options
author | Ross Smith II <ross@smithii.com> | 2018-03-05 07:02:46 -0800 |
---|---|---|
committer | Ross Smith II <ross@smithii.com> | 2018-03-05 07:02:46 -0800 |
commit | 54f7cbcebe835b098a23998a16eb11f4d643eeb1 (patch) | |
tree | 8f1bb3159f349cffddfe49c4807413f281846d1a /yadm | |
parent | 315ad0873e843b1cfa7f2a9933e15dde798cba24 (diff) |
Fix OS name match for Cygwin/Msys
Diffstat (limited to 'yadm')
-rwxr-xr-x | yadm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -169,7 +169,7 @@ function alt() { #; decide if a copy should be done instead of a symbolic link local do_copy=0 - if [[ $OPERATING_SYSTEM =~ (Cygwin|Msys) ]] ; then + if [[ $OPERATING_SYSTEM =~ ^(CYGWIN|MSYS) ]] ; then if [[ $(config --bool yadm.cygwin-copy) == "true" ]] ; then do_copy=1 fi |