1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-06 07:52:57 +00:00

shellcheck fixes

This commit is contained in:
deadc0de6
2023-01-27 16:44:19 +01:00
committed by deadc0de
parent fd26eb89b3
commit 2f1bbeacee
135 changed files with 4083 additions and 3950 deletions

8
test-ng.sh vendored
View File

@@ -13,13 +13,13 @@ if ! ${rl} "${0}" >/dev/null 2>&1; then
echo "\"${rl}\" not found!" && exit 1
fi
fi
cur=`dirname $(${rl} "${0}")`
cur=$(dirname "$(${rl} "${0}")")
tmpworkdir="/tmp/dotdrop-tests-workdir"
export DOTDROP_WORKDIR="${tmpworkdir}"
workers=${DOTDROP_WORKERS}
if [ ! -z ${workers} ]; then
if [ -n "${workers}" ]; then
DOTDROP_WORKERS=${workers}
echo "ENABLE workers: ${workers}"
fi
@@ -28,8 +28,8 @@ fi
export DOTDROP_DEBUG="yes"
unset DOTDROP_FORCE_NODEBUG
workdir_tmp_exists="no"
[ -d "~/.config/dotdrop/tmp" ] && workdir_tmp_exists="yes"
if [ -z ${GITHUB_WORKFLOW} ]; then
[ -d "${HOME}/.config/dotdrop/tmp" ] && workdir_tmp_exists="yes"
if [ -z "${GITHUB_WORKFLOW}" ]; then
## local
export COVERAGE_FILE=
tests-ng/tests-launcher.py