ignoring mac's .DS_Store items now.
[feisty_meow.git] / scripts / core / variables.sh
index c62421586c4dfb82976ecba6e8cb7c78cd41a032..7c67e440fb270d412784e41ab44fb9c445629b2a 100644 (file)
@@ -177,7 +177,7 @@ if [ -z "$NECHUNG" ]; then
   
   # add to the PATH variables used for locating applications.  this step is taken after any
   # potential overrides from the user.
-  export PATH="$FEISTY_MEOW_GENERATED:$PATH:/sbin:$(ls -d /usr/local/games/*):."
+  export PATH="$FEISTY_MEOW_GENERATED:$PATH:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)/sbin"
   
   ##############