fixing path for cygwin tools.
[feisty_meow.git] / scripts / core / variables.sh
index 67144bbaefc94583a4b724bde816f0418ddae7cb..0f1ed10d6389776183f38937cd2f6da52ac89d43 100644 (file)
@@ -174,22 +174,6 @@ if [ -z "$NECHUNG" ]; then
   
   ##############
   
-  # pull in the custom overrides for feisty_meow scripts.  this is done last,
-  # because we want to set everything up as expected, then let the user
-  # override individual variables and definitions.
-  for i in $FEISTY_MEOW_GENERATED/custom/*.sh; do
-    if [ ! -f "$i" ]; then
-      # skip it if it's not real.
-      continue;
-    fi
-    if [ ! -z "$SHELL_DEBUG" ]; then
-      echo "loading customization: $(basename $(dirname $i))/$(basename $i)"
-    fi
-    source $i
-  done
-  
-  ##############
-  
   # 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:."
@@ -200,12 +184,23 @@ if [ -z "$NECHUNG" ]; then
   
   if [ ! -z "$SHELL_DEBUG" ]; then echo variables initialization ends....; fi
 
-else
-  # we are seeing this lot again, we believe, so make things easier for the
-  # rest of initialization.
-  export LIGHTWEIGHT_INIT=true
-  if [ ! -z "$SHELL_DEBUG" ]; then
- echo skipped var init and put in lightweight mode due to belief in previous existence.; 
-fi
 fi
 
+##############
+
+# pull in the custom overrides for feisty_meow scripts.  this is done last,
+# because we want to set everything up as expected, then let the user
+# override individual variables and definitions.  we also don't guard this
+# to avoid running it again, because we don't know what mix of functions and
+# aliases they want to define in there.
+for i in $FEISTY_MEOW_GENERATED/custom/*.sh; do
+  if [ ! -f "$i" ]; then
+    # skip it if it's not real.
+    continue;
+  fi
+  if [ ! -z "$SHELL_DEBUG" ]; then
+    echo "loading customization: $(basename $(dirname $i))/$(basename $i)"
+  fi
+  source $i
+done
+