does seem to need upper case for CYGWIN variable. possibly just not set early enough.
authorChris Koeritz <fred@gruntose.com>
Wed, 7 Mar 2012 15:40:21 +0000 (10:40 -0500)
committerChris Koeritz <fred@gruntose.com>
Wed, 7 Mar 2012 15:40:21 +0000 (10:40 -0500)
scripts/core/variables.sh

index 5b845db0cbe255a5ca6768bd1645af640798f137..995fd0b360bc18b62f0d263d1b1b782a5a16b8a3 100644 (file)
@@ -152,9 +152,6 @@ if [ -z "$NECHUNG" ]; then
     fi
   }
   
-  # load in the build environment.
-  initialize_build_variables
-  
   ##############
   
   # windoze specific patching up missing things.
@@ -162,11 +159,16 @@ if [ -z "$NECHUNG" ]; then
   if [ "$OS" == "Windows_NT" ]; then
     export HOSTNAME=$(echo $HOSTNAME | tr A-Z a-z)
     # turn off warnings about files in dos format.  give up cygwin, you're on dos/windows.
-    export cygwin=nodosfilewarning
+    export CYGWIN=nodosfilewarning
   fi
   
   ##############
   
+  # load in the build environment.
+  initialize_build_variables
+  
+  ##############
+  
   # set the path for locating applications.  this is done after any
   # potential overrides from the user.
   #export PATH="$(dos_to_msys_path $BINDIR):$(dos_to_msys_path $FEISTY_MEOW_GENERATED):$PATH:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/lib:/usr/games:/usr/bin:."