From 0bcf01016848c74240ebeee81f73607598c2a9ea Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Sun, 30 Dec 2012 09:44:14 -0500 Subject: [PATCH] made the path for games a bit nicer, going one level down into subdirs and getting the colons right. --- scripts/core/variables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index c6242158..b30a727e 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -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 {}: ';')." ############## -- 2.34.1