We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f53b4 commit 2a00697Copy full SHA for 2a00697
kernel/entrypoint.sh
@@ -28,8 +28,11 @@ else
28
adduser --uid "${PUID}" --ingroup "${group_name}" --disabled-password --gecos "" "${user_name}"
29
fi
30
31
-# Parse command line arguments for --workspace option
+# Parse command line arguments for --workspace option or SIYUAN_WORKSPACE_PATH env variable
32
# Store other arguments in ARGS for later use
33
+if [[ -n "${SIYUAN_WORKSPACE_PATH}" ]]; then
34
+ WORKSPACE_DIR="${SIYUAN_WORKSPACE_PATH}"
35
+fi
36
ARGS=""
37
while [[ "$#" -gt 0 ]]; do
38
case $1 in
0 commit comments