summaryrefslogtreecommitdiff
path: root/yadm
diff options
context:
space:
mode:
authorRoss Smith II <ross@smithii.com>2018-03-05 07:02:46 -0800
committerRoss Smith II <ross@smithii.com>2018-03-05 07:02:46 -0800
commit54f7cbcebe835b098a23998a16eb11f4d643eeb1 (patch)
tree8f1bb3159f349cffddfe49c4807413f281846d1a /yadm
parent315ad0873e843b1cfa7f2a9933e15dde798cba24 (diff)
Fix OS name match for Cygwin/Msys
Diffstat (limited to 'yadm')
-rwxr-xr-xyadm2
1 files changed, 1 insertions, 1 deletions
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