We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92ef7d0 commit 9645bb3Copy full SHA for 9645bb3
utils/entrypoint.sh
@@ -26,6 +26,11 @@ rm -rf /home/${NB_USER}/.zshrc
26
# create the working directory
27
mkdir -p ${WORKING_DIR}
28
29
+if [[ -z $SYMLINK_TARGETS ]] || [[ -z $SYMLINK_PATHS ]] || [[ -z $SYMLINK_TYPES ]]; then
30
+ exec "$@" # Run the task
31
+ exit
32
+fi
33
+
34
# Make symlinks between elements of SYMLINK_PATHS and SYMLINK_TARGETS
35
IFS=: read -r -d '' -a target_array < <(printf '%s:\0' "$SYMLINK_TARGETS")
36
IFS=: read -r -d '' -a path_array < <(printf '%s:\0' "$SYMLINK_PATHS")
0 commit comments