Fix OS check to match (Cygwin|Msys)*

This commit is contained in:
Ross Smith II 2018-03-04 06:34:08 -08:00
parent adfedf4b64
commit 315ad0873e
1 changed files with 1 additions and 1 deletions

2
yadm
View File

@ -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* ]] ; then
if [[ $OPERATING_SYSTEM =~ (Cygwin|Msys) ]] ; then
if [[ $(config --bool yadm.cygwin-copy) == "true" ]] ; then
do_copy=1
fi