From ae4010b6a1e7d469247ce300e3eca1ac024b1e0b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 22 Nov 2019 23:31:53 +0100 Subject: [PATCH] fix pwd handling --- overlay/bin/molecule | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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..."