From 66d536265862f8530b1ea0b5e4bea36205d78293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <henrik@trineo.org> Date: Mon, 6 Apr 2020 15:10:31 +0200 Subject: [PATCH] MAINT: use abs path --- utils/make_db | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/make_db b/utils/make_db index 6af1a36..3ad9311 100755 --- a/utils/make_db +++ b/utils/make_db @@ -82,11 +82,11 @@ function _install_unit_test_database () { # create test user grant - # update to latest - cp .config .test_config echo "DATABASE_NAME=\"$UNITTEST_DATABASE\"" >> .test_config pushd patches > /dev/null - ./applyPatches.sh --env=../.test_config + export ENV_FILE=$(realpath ../.test_config) + ./applyPatches.sh + unset ENV_FILE popd > /dev/null rm .test_config } -- GitLab