X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fvariables.sh;h=7c67e440fb270d412784e41ab44fb9c445629b2a;hb=541783feb1e22d7cb43141640bc45e5d8f5fe8da;hp=f3c1972a8cae23b67f9bc14cc9abfffa4d406ad9;hpb=2cc6bf514ccde007ac328907f1cf124295fb92f2;p=feisty_meow.git diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index f3c1972a..7c67e440 100644 --- a/scripts/core/variables.sh +++ b/scripts/core/variables.sh @@ -175,11 +175,9 @@ if [ -z "$NECHUNG" ]; then ############## - # 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_msys_path $BINDIR):$(dos_to_msys_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" ##############