1
0
Fork 0
mirror of synced 2024-06-18 05:31:09 -04:00

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

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)
;;
*)
;;