From c89df6739f4ce7f5afd2baaaf727abdedc22c33b Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 18 Dec 2020 17:10:49 +0100 Subject: [fix] determine path to makefile.lxc in a LXC The path to the makefile.lxc is not always static and '/share/searx/utils/makefile.lxc' can be wrong. When target 'lxc.activate' is called within the LXC container the path to makefile.lxc depends on LXC_SHARE_FOLDER and the basename of the folder where searx was cloned inital on the HOST system. This patch determines the path of 'makefile.lxc' next to 'makefile.include' itself. Signed-off-by: Markus Heiser --- utils/lxc.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/lxc.sh') diff --git a/utils/lxc.sh b/utils/lxc.sh index 30534c6a2..11dbe578d 100755 --- a/utils/lxc.sh +++ b/utils/lxc.sh @@ -20,7 +20,7 @@ lxc_set_suite_env LXC_HOST_PREFIX="${LXC_HOST_PREFIX:-test}" -# where all folders from HOST are mounted +# Location in the container where all folders from HOST are mounted LXC_SHARE_FOLDER="/share" LXC_REPO_ROOT="${LXC_SHARE_FOLDER}/$(basename "${REPO_ROOT}")" -- cgit v1.2.3