Merge pull request #102 from rasa/rasa-add-mingw-msys-support

This commit is contained in:
Tim Byrne 2019-10-09 07:48:56 -05:00
commit b2ef6d2e09
No known key found for this signature in database
GPG Key ID: 14DB4FC2465A4B12
1 changed files with 3 additions and 2 deletions

5
yadm
View File

@ -389,7 +389,7 @@ function alt() {
# decide if a copy should be done instead of a symbolic link
local do_copy=0
[[ $OPERATING_SYSTEM == CYGWIN* ]] &&
[[ $OPERATING_SYSTEM =~ ^(CYGWIN|MSYS) ]] &&
[ "$(config --bool yadm.cygwin-copy)" == "true" ] &&
do_copy=1
@ -1271,11 +1271,12 @@ function set_operating_system() {
fi
case "$OPERATING_SYSTEM" in
CYGWIN*)
CYGWIN*|MINGW*|MSYS*)
git_version="$("$GIT_PROGRAM" --version 2>/dev/null)"
if [[ "$git_version" =~ windows ]] ; then
USE_CYGPATH=1
fi
OPERATING_SYSTEM=$(uname -o)
;;
*)
;;