Added msys2 detection and bootstrap safe code
This commit is contained in:
parent
61adfc6c6f
commit
a543099eed
|
@ -2,7 +2,8 @@
|
||||||
#### OFUNCTIONS MINI SUBSET ####
|
#### OFUNCTIONS MINI SUBSET ####
|
||||||
|
|
||||||
_OFUNCTIONS_VERSION=2.1
|
_OFUNCTIONS_VERSION=2.1
|
||||||
_OFUNCTIONS_BUILD=2016120801
|
_OFUNCTIONS_BUILD=2016120802
|
||||||
|
_OFUNCTIONS_BOOTSTRAP=true
|
||||||
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
||||||
|
|
||||||
## To use in a program, define the following variables:
|
## To use in a program, define the following variables:
|
||||||
|
@ -1127,7 +1128,7 @@ function GetLocalOS {
|
||||||
*"BSD"*)
|
*"BSD"*)
|
||||||
LOCAL_OS="BSD"
|
LOCAL_OS="BSD"
|
||||||
;;
|
;;
|
||||||
*"MINGW32"*|*"CYGWIN"*)
|
*"MINGW32"*|*"MSYS"*|*"CYGWIN"*)
|
||||||
LOCAL_OS="msys"
|
LOCAL_OS="msys"
|
||||||
;;
|
;;
|
||||||
*"Microsoft"*)
|
*"Microsoft"*)
|
||||||
|
@ -1203,7 +1204,7 @@ ENDSSH
|
||||||
*"BSD"*)
|
*"BSD"*)
|
||||||
REMOTE_OS="BSD"
|
REMOTE_OS="BSD"
|
||||||
;;
|
;;
|
||||||
*"MINGW32"*|*"CYGWIN"*)
|
*"MINGW32"*|*"MSYS"*|*"CYGWIN"*)
|
||||||
REMOTE_OS="msys"
|
REMOTE_OS="msys"
|
||||||
;;
|
;;
|
||||||
*"Microsoft"*)
|
*"Microsoft"*)
|
||||||
|
|
Loading…
Reference in New Issue