From: Chris Koeritz Date: Mon, 21 Jan 2013 17:45:08 +0000 (-0500) Subject: removed long term usage of putting dot into the PATH, to allow scripts and exes to... X-Git-Tag: 2.140.90~1136 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=cf316157d9a658adbcc9132dc0306f39d38594c6;p=feisty_meow.git removed long term usage of putting dot into the PATH, to allow scripts and exes to be run if they were present in current directory. have long known this wasn't totally safe, but the reason for even doing it has long passed. all of feisty meow aliases and functions and scripts are loaded up so that one can run them without needing to refer to a file in the current directory, and for anything that's actually right there in the current directory, i will just add a "./" in front of it from now on before running it. --- diff --git a/scripts/core/variables.sh b/scripts/core/variables.sh index bfe00da9..7c67e440 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 {}: ';' 2>/dev/null)." + export PATH="$FEISTY_MEOW_GENERATED:$PATH:$(find /usr/local/games -maxdepth 1 -type d -exec echo -n {}: ';' 2>/dev/null)/sbin" ##############