fix pwd handling
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-11-22 23:31:53 +01:00
parent 339c3d63cc
commit ae4010b6a1

View File

@ -1,8 +1,9 @@
#!/bin/sh
set -eo pipefail
LIBRARY_DIR=$(pwd)library/
FILTERS_DIR=$(pwd)plugins/filters/
DIR=$(pwd)
LIBRARY_DIR=${DIR%/}/library/
FILTERS_DIR=${DIR%/}/plugins/filters/
if [ "${MOLECULE_CUSTOM_MODULES_REPO}" ]; then
echo "Cloning custom modules..."