X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=b71defbeb00b653c311fce599df6b32ecda2711e;hb=2f66db56b3c178132bb9d8f595c890bb6fdb6a28;hp=da6d351162752063d467f17a68717e0a9700957e;hpb=16afe4d6569a92127a4f27dfb36e0acc1889b392;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index da6d3511..b71defbe 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -79,6 +79,11 @@ if [ -z "$NECHUNG" ]; then # IS_MSYS will be non-empty if this is the msys toolset. otherwise # we assume that it's cygwin. IS_MSYS=$(uname | grep -i ming) + + # if not MSYS, then we'll assume cygwin and set the cygwin root var. + if [ -z "$IS_MSYS" ]; then + define_yeti_variable CYGROOT=$(cygpath -w -m /) + fi fi ##############