diff --git a/scripts/check-tests-ng.sh b/scripts/check-tests-ng.sh index 240510f..390cd9f 100755 --- a/scripts/check-tests-ng.sh +++ b/scripts/check-tests-ng.sh @@ -5,16 +5,6 @@ # stop on first error 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" export DOTDROP_WORKDIR="${tmpworkdir}" diff --git a/scripts/check-unittests.sh b/scripts/check-unittests.sh index 79af357..f79cf3e 100755 --- a/scripts/check-unittests.sh +++ b/scripts/check-unittests.sh @@ -5,16 +5,6 @@ # stop on first error 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 unset DOTDROP_WORKERS echo "DISABLE workers for unittests"