if [ -z "$FEISTY_MEOW_DIR" ]; then
if [ -d "$HOME/feisty_meow" ]; then
export FEISTY_MEOW_DIR="$HOME/feisty_meow"
- export FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_DIR/scripts"
+ export FEISTY_MEOW_SCRIPTS="$FEISTY_MEOW_SCRIPTS"
fi
fi
# we need to know the feisty meow directory, or we bail.
if [ -z "$FEISTY_MEOW_DIR" ]; then return; fi
# pick from our expected generator folder, but make sure it's there...
- buildvars="$FEISTY_MEOW_DIR/scripts/generator/build_variables.sh"
+ buildvars="$FEISTY_MEOW_SCRIPTS/generator/build_variables.sh"
if [ -f "$buildvars" ]; then
# yep, that one looks good, so pull in the build defs.
source "$buildvars" "$buildvars"
##############
- # 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_unix_path $BINDIR):$(dos_to_unix_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"
##############