This commit is contained in:
inxi-svn 2008-10-28 03:11:44 +00:00
parent 947a8b8fc4
commit c1a4fe88b4

8
inxi
View file

@ -96,7 +96,7 @@ FL2=''
# 00000000 01 01 6f 6e 65 20 74 77 6f 0a |..one two.|
NORMAL_BANS=( corporation communications technologies technology group $'\2'"\<ltd\>" ltd. $'\2'"\<inc\>" inc. $'\2'\<co\> co. "(tm)" "(r)" $'\2'"\(rev ..\)" )
CPU_BANS=( cpu processor $'\2'"[0-9.]+ *[MmGg][Hh][Zz]" )
X_PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" # Extra path variable to make execute failures less likely, merged below
EXTRA_PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" # Extra path variable to make execute failures less likely, merged below
PARAMETER_LIMIT=30 # This is a variable that controls how many parameters infobash will parse in a /proc/<pid>/cmdline file before stopping.
CRAP=0 # New parameter
FLAG=0 # A throw-away 'flag' variable intended to be used throughout infobash
@ -504,11 +504,11 @@ then
X=1
fi
# Fallback paths put into $X_PATH; This might, among others, help on gentoo.
# Now, create a difference of $PATH and $X_PATH and add that to $PATH:
# Fallback paths put into $EXTRA_PATH; This might, among others, help on gentoo.
# Now, create a difference of $PATH and $EXTRA_PATH and add that to $PATH:
unset TPATH
IFS=":"
for I in $X_PATH
for I in $EXTRA_PATH
do
FLAG=0
for J in $PATH