From 9ac1bdd045b49dc2bfd409cfa07145aea337e5f3 Mon Sep 17 00:00:00 2001 From: downtownallday Date: Wed, 21 Sep 2022 19:04:18 -0400 Subject: [PATCH] LOCAL_MODS_DIR must be absolute --- tests/system-setup/setup-defaults.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/system-setup/setup-defaults.sh b/tests/system-setup/setup-defaults.sh index 21001cba..b545c000 100755 --- a/tests/system-setup/setup-defaults.sh +++ b/tests/system-setup/setup-defaults.sh @@ -29,7 +29,7 @@ if lsmod | grep "^vboxguest[\t ]" >/dev/null; then # under virtualbox / vagrant. export LOCAL_MODS_DIR="${LOCAL_MODS_DIR:-/local}" else - export LOCAL_MODS_DIR="${LOCAL_MODS_DIR:-local}" + export LOCAL_MODS_DIR="${LOCAL_MODS_DIR:-$(pwd)/local}" fi export DOWNLOAD_CACHE_DIR="${DOWNLOAD_CACHE_DIR:-$(pwd)/downloads}" export DOWNLOAD_NEXTCLOUD_FROM_GITHUB="${DOWNLOAD_NEXTCLOUD_FROM_GITHUB:-false}"