X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=bb7878c92ca1b6596a02b9a8354125d8f071abca;hb=c041a073fe44baafa4ebcb516c7d377d52fff054;hp=b30a727ebf6f1275d53b869cefa894db2b280bd4;hpb=0bcf01016848c74240ebeee81f73607598c2a9ea;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index b30a727e..bb7878c9 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -63,7 +63,7 @@ if [ -z "$NECHUNG" ]; then 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 @@ -142,7 +142,7 @@ if [ -z "$NECHUNG" ]; then # 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" @@ -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:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)/sbin" ##############