ignoring mac's .DS_Store items now.
[feisty_meow.git] / scripts / core / variables.sh
index f3c1972a8cae23b67f9bc14cc9abfffa4d406ad9..7c67e440fb270d412784e41ab44fb9c445629b2a 100644 (file)
@@ -175,11 +175,9 @@ if [ -z "$NECHUNG" ]; then
   
   ##############
   
-  # set the path for locating applications.  this is done after any
+  # add to the PATH variables used for locating applications.  this step is taken 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:."
-  export PATH="$FEISTY_MEOW_GENERATED:$PATH:/sbin:."
-###noise! :/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/lib:/usr/games:/usr/bin:.
+  export PATH="$FEISTY_MEOW_GENERATED:$PATH:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)/sbin"
   
   ##############