From c1a4fe88b460d8a32ca8591b1e0042855dcbb162 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Tue, 28 Oct 2008 03:11:44 +0000 Subject: [PATCH] tweaks --- inxi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/inxi b/inxi index 05a0572..e2f6d89 100755 --- a/inxi +++ b/inxi @@ -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. $'\2'"\" inc. $'\2'\ 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//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