From 7eeaeb1f8b651f70d403f9da14c0a46dfd557c29 Mon Sep 17 00:00:00 2001 From: Robert Title Date: Wed, 17 Apr 2019 07:09:06 -0400 Subject: [PATCH] [864] WORKSPACE_NAME environment variable is empty when workspace name has spaces (#867) --- docker/jupyter/scripts/kernel/kernel_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/jupyter/scripts/kernel/kernel_bootstrap.sh b/docker/jupyter/scripts/kernel/kernel_bootstrap.sh index 022f17cd967..5c8bb1d8304 100644 --- a/docker/jupyter/scripts/kernel/kernel_bootstrap.sh +++ b/docker/jupyter/scripts/kernel/kernel_bootstrap.sh @@ -13,7 +13,7 @@ # The workspace name is simply the CWD of the running notebook. PWD="$(pwd)" -export WORKSPACE_NAME="$(basename $PWD)" +export WORKSPACE_NAME="$(basename "$PWD")" # Parse the .delocalize.json file (if it exists) in the workspace directory to obtain the workspace bucket. DELOCALIZE_FILE="$PWD/.delocalize.json"