diff options
author | mboelen <michael@cisofy.com> | 2015-09-10 20:45:12 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2015-09-10 20:45:12 +0300 |
commit | 28d9a49a5f2c6728d9f8da4f4e41bdf88c8c2d37 (patch) | |
tree | 7cb7d7624a1f8b48f3588f98757778d65a5a9ef1 | |
parent | 02d735c4e16c0d91fe9a04dcb55c8f18b3983c7d (diff) |
Renamed BINPATHS to BIN_PATHS
-rw-r--r-- | include/binaries | 2 | ||||
-rw-r--r-- | 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 |