From: Chris Koeritz Date: Sun, 30 Dec 2012 14:49:29 +0000 (-0500) Subject: nice fix, now won't complain if there is no /usr/local/games. X-Git-Tag: 2.140.90~1158 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=70c99619c6f8821dbfa719af6316eaceeb713f8b;p=feisty_meow.git nice fix, now won't complain if there is no /usr/local/games. --- diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index b30a727e..bfe00da9 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:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';')." + export PATH="$FEISTY_MEOW_GENERATED:$PATH:/sbin:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)." ##############