rename helper files and etools file
This commit is contained in:
parent
674bf18d65
commit
b54f939d46
@ -20,7 +20,7 @@ function etools_smart_find() {
|
||||
if [ ! "${2}" = "" ]; then
|
||||
[ ! -d "${2}" ] && [ ! -d "${ETOOLS_REPO_PATH}/${2}" ] && \
|
||||
eerror "no valid repository name" && return 2;
|
||||
. ./etools-helper.sh
|
||||
. ./helper.sh
|
||||
if [[ "${2}" == /* ]]; then
|
||||
# shellcheck disable=SC2046
|
||||
_filter $(_formatted_find "$@")
|
||||
@ -29,12 +29,12 @@ function etools_smart_find() {
|
||||
_filter $(_formatted_find "${1}" "${ETOOLS_REPO_PATH}/${2}")
|
||||
fi
|
||||
else
|
||||
. ./etools-helper.sh
|
||||
. ./helper.sh
|
||||
# shellcheck disable=SC2046
|
||||
_filter $(_formatted_find "${1}" "/var/db/repos")
|
||||
fi
|
||||
# unset helper functions
|
||||
./etools-helper.sh
|
||||
./helper.sh
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user