1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2024-10-27 20:34:27 +00:00

Fix OS name match for Cygwin/Msys

This commit is contained in:
Ross Smith II 2018-03-05 07:02:46 -08:00
parent 315ad0873e
commit 54f7cbcebe

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