fix pwd handling
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-11-22 23:31:53 +01:00
parent 339c3d63cc
commit ae4010b6a1
1 changed files with 3 additions and 2 deletions

View File

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