mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 20:19:46 +00:00
linting
This commit is contained in:
10
scripts/check-tests-ng.sh
vendored
10
scripts/check-tests-ng.sh
vendored
@@ -5,16 +5,6 @@
|
|||||||
# stop on first error
|
# stop on first error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rl="readlink -f"
|
|
||||||
if ! ${rl} "${0}" >/dev/null 2>&1; then
|
|
||||||
rl="realpath"
|
|
||||||
|
|
||||||
if ! hash ${rl}; then
|
|
||||||
echo "\"${rl}\" not found!" && exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
cur=$(dirname "$(${rl} "${0}")")
|
|
||||||
|
|
||||||
tmpworkdir="/tmp/dotdrop-tests-workdir"
|
tmpworkdir="/tmp/dotdrop-tests-workdir"
|
||||||
export DOTDROP_WORKDIR="${tmpworkdir}"
|
export DOTDROP_WORKDIR="${tmpworkdir}"
|
||||||
|
|
||||||
|
|||||||
10
scripts/check-unittests.sh
vendored
10
scripts/check-unittests.sh
vendored
@@ -5,16 +5,6 @@
|
|||||||
# stop on first error
|
# stop on first error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
rl="readlink -f"
|
|
||||||
if ! ${rl} "${0}" >/dev/null 2>&1; then
|
|
||||||
rl="realpath"
|
|
||||||
|
|
||||||
if ! hash ${rl}; then
|
|
||||||
echo "\"${rl}\" not found!" && exit 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
cur=$(dirname "$(${rl} "${0}")")
|
|
||||||
|
|
||||||
if [ -n "${DOTDROP_WORKERS}" ]; then
|
if [ -n "${DOTDROP_WORKERS}" ]; then
|
||||||
unset DOTDROP_WORKERS
|
unset DOTDROP_WORKERS
|
||||||
echo "DISABLE workers for unittests"
|
echo "DISABLE workers for unittests"
|
||||||
|
|||||||
Reference in New Issue
Block a user