diff --git a/overlay/bin/molecule b/overlay/bin/molecule index 316b406..607fb79 100755 --- a/overlay/bin/molecule +++ b/overlay/bin/molecule @@ -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..."