From 54f7cbcebe835b098a23998a16eb11f4d643eeb1 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Mon, 5 Mar 2018 07:02:46 -0800 Subject: [PATCH] Fix OS name match for Cygwin/Msys --- yadm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yadm b/yadm index 6f6f8b9..c391306 100755 --- a/yadm +++ b/yadm @@ -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