updated bits for cygwin, but not working with the openssl yet.
[feisty_meow.git] / scripts / core / variables.sh
index da6d351162752063d467f17a68717e0a9700957e..b71defbeb00b653c311fce599df6b32ecda2711e 100644 (file)
@@ -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
 
   ##############