Renamed BINPATHS to BIN_PATHS

This commit is contained in:
mboelen 2015-09-10 19:45:12 +02:00
parent 02d735c4e1
commit 28d9a49a5f
2 changed files with 4 additions and 2 deletions

View File

@ -37,7 +37,7 @@
BINARY_PATHS_FOUND=""; N=0
Display --indent 2 --text "- Checking system binaries..."
logtext "Status: Starting binary scan..."
for SCANDIR in ${BINPATHS}; do
for SCANDIR in ${BIN_PATHS}; do
logtext "Test: Check if directory exists"
ORGPATH=""
if [ -d ${SCANDIR} ]; then

View File

@ -19,12 +19,14 @@
#
# Paths where system and program binaries are located
BINPATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin \
BIN_PATHS="/bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin \
/usr/local/libexec /usr/libexec /usr/sfw/bin /usr/sfw/sbin \
/usr/sfw/libexec /opt/sfw/bin /opt/sfw/sbin /opt/sfw/libexec \
/usr/xpg4/bin /usr/css/bin /usr/ucb /usr/X11R6/bin /usr/X11R7/bin \
/usr/pkg/bin /usr/pkg/sbin"
ETC_PATHS="/etc /usr/local/etc"
# Do not use specific language, fall back to default
# Some tools with translated strings are very hard to parse
unset LANG