From 9fa0611c7d4ab2cd5f5a5da06fc69e940805335f Mon Sep 17 00:00:00 2001 From: Ivan Ivanov Date: Sat, 21 Dec 2024 17:50:36 +0200 Subject: [PATCH] Fix GitHub warning that variables should be defined before their use I was using `$PYTHONPATH` in a context where I cannot expect it to exist. --- docker-qgis/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-qgis/Dockerfile b/docker-qgis/Dockerfile index e23867461..cff6b0c59 100644 --- a/docker-qgis/Dockerfile +++ b/docker-qgis/Dockerfile @@ -60,7 +60,7 @@ ENV LIBC_FATAL_STDERR_=1 ENV LANG=C.UTF-8 ENV XDG_RUNTIME_DIR=/root # allow local development for `libqfieldsync`, requires `/libqfieldsync` to be a mounted host directory -ENV PYTHONPATH=/libqfieldsync:${PYTHONPATH} +ENV PYTHONPATH=/libqfieldsync ENV PYTHONPATH=/qfieldcloud-sdk-python:${PYTHONPATH} # Install regular dependencies that rarely change