SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[fix] issues reported by shellcheck v0.9.0
Markus Heiser54a6626582d1
diff --git a/utils/lib.sh b/utils/lib.shindex afc6ef19b..16bfb4398 100755--- a/utils/lib.sh+++ b/utils/lib.sh@@ -194,6 +194,7 @@ wait_key(){[[ -n $FORCE_TIMEOUT ]] && _t=$FORCE_TIMEOUT[[ -n $_t ]] && _t="-t $_t"printf "$msg"+ # shellcheck disable=SC2229# shellcheck disable=SC2086read -r -s -n1 $_t || trueecho@@ -227,7 +228,7 @@ ask_yn() {while true; doclean_stdinprintf "$1 ${choice} "- # shellcheck disable=SC2086+ # shellcheck disable=SC2086,SC2229read -r -n1 $_tif [[ -z $REPLY ]]; thenprintf "$default\n"; break@@ -261,7 +262,7 @@ tee_stderr () {if [[ -n $1 ]] ; then _t="$1"; fi(while read -r line; do- # shellcheck disable=SC2086+ # shellcheck disable=SC2086,SC2229sleep $_techo -e "$line" >&2echo "$line"@@ -367,7 +368,7 @@ choose_one() {printf "$1 [${_BGreen}$default${_creset}] "if (( 10 > max )); then- # shellcheck disable=SC2086+ # shellcheck disable=SC2086,SC2229read -r -n1 $_telse# shellcheck disable=SC2086,SC2229@@ -708,6 +709,7 @@ pyenv.uninstall() {pyenv.cmd python setup.py develop --uninstall 2>&1 \| prefix_stdout "${_Blue}PYENV ${_creset}[pyenv.uninstall] "else+ # shellcheck disable=SC2086pyenv.cmd python -m pip uninstall --yes ${PYOBJECTS} 2>&1 \| prefix_stdout "${_Blue}PYENV ${_creset}[pyenv.uninstall] "fidiff --git a/utils/lib_sxng_static.sh b/utils/lib_sxng_static.shindex de34ea629..8271cc144 100755--- a/utils/lib_sxng_static.sh+++ b/utils/lib_sxng_static.sh@@ -37,7 +37,7 @@ is.static.build.commit() {# check all files of the commit belongs to $STATIC_BUILT_PATHScommit_files=$(git diff-tree --no-commit-id --name-only -r "${commit_sha}")- for i in ${STATIC_BUILT_PATHS[*]}; do+ for i in "${STATIC_BUILT_PATHS[@]}"; do# remove files of ${STATIC_BUILT_PATHS}commit_files=$(echo "${commit_files}" | grep -v "^${i}")done