From 94e33bdbbf54f1aefb18738a63769969be8ff169 Mon Sep 17 00:00:00 2001 From: Mohammad KhoshZaban Date: Mon, 29 May 2023 05:27:42 +0100 Subject: [PATCH] fix manage-offline-files script - wrong path (#9886) --- 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 e949c70e6..41936cdef 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