From 28d9a49a5f2c6728d9f8da4f4e41bdf88c8c2d37 Mon Sep 17 00:00:00 2001 From: mboelen Date: Thu, 10 Sep 2015 19:45:12 +0200 Subject: [PATCH] Renamed BINPATHS to BIN_PATHS --- include/binaries | 2 +- include/consts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/binaries b/include/binaries index 206f6b12..a27912e1 100644 --- a/include/binaries +++ b/include/binaries @@ -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 diff --git a/include/consts b/include/consts index 22c8c294..e80baa64 100644 --- a/include/consts +++ b/include/consts @@ -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