made the path for games a bit nicer, going one level down into subdirs
authorChris Koeritz <fred@gruntose.com>
Sun, 30 Dec 2012 14:44:14 +0000 (09:44 -0500)
committerChris Koeritz <fred@gruntose.com>
Sun, 30 Dec 2012 14:44:14 +0000 (09:44 -0500)
and getting the colons right.

scripts/core/variables.sh

index c62421586c4dfb82976ecba6e8cb7c78cd41a032..b30a727ebf6f1275d53b869cefa894db2b280bd4 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:/sbin:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';')."
   
   ##############