From a5e4bbc0b2d07d454dc5cd05cc4290d48a4fd6f8 Mon Sep 17 00:00:00 2001 From: Mohammad KhoshZaban Date: Mon, 13 Mar 2023 15:28:59 +0000 Subject: [PATCH] fix manage-offline-files script - wrong path --- contrib/offline/manage-offline-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/offline/manage-offline-files.sh b/contrib/offline/manage-offline-files.sh index e949c70e6e0..41936cdef08 100755 --- a/contrib/offline/manage-offline-files.sh +++ b/contrib/offline/manage-offline-files.sh @@ -39,6 +39,6 @@ if [ $? -ne 0 ]; then sudo "${runtime}" run \ --restart=always -d -p ${NGINX_PORT}:80 \ --volume "${OFFLINE_FILES_DIR}:/usr/share/nginx/html/download" \ - --volume "$(pwd)"/nginx.conf:/etc/nginx/nginx.conf \ + --volume "${CURRENT_DIR}"/nginx.conf:/etc/nginx/nginx.conf \ --name nginx nginx:alpine fi