1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-08 11:59:16 +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

7
test-unittest.sh vendored
View File

@@ -13,16 +13,15 @@ if ! ${rl} "${0}" >/dev/null 2>&1; then
echo "\"${rl}\" not found!" && exit 1
fi
fi
cur=`dirname $(${rl} "${0}")`
cur=$(dirname "$(${rl} "${0}")")
workers=${DOTDROP_WORKERS}
if [ ! -z ${workers} ]; then
if [ -n "${DOTDROP_WORKERS}" ]; then
unset DOTDROP_WORKERS
echo "DISABLE workers"
fi
# execute tests with coverage
if [ -z ${GITHUB_WORKFLOW} ]; then
if [ -z "${GITHUB_WORKFLOW}" ]; then
## local
export COVERAGE_FILE=
# do not print debugs when running tests (faster)