File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash -l
22set -euo pipefail
33
4+ # Resolve spammy terminal user experience. Remove after this PR is merged:
5+ # https://github.com/jupyterhub/repo2docker/pull/1425
6+ # The file is writeable, but the parent directory isn't writeable. `sed
7+ # --in-place` writes a temporary file to the parent directory, so we need to
8+ # work on a copy, then move it.
9+ cp /etc/profile.d/activate-conda.sh /tmp/activate-conda.sh
10+ sed --in-place " s/^set -ex$/set -e/" /tmp/activate-conda.sh
11+ sed --in-place " s/^set +ex$/set +e/" /tmp/activate-conda.sh
12+ mv /tmp/activate-conda.sh /etc/profile.d/activate-conda.sh
13+
414# Put our custom Jupyter Server config into appropriate platform
515# This path is determined by looking at output of `jupyter --path` in the hub
616# We copy both to notebook server config and jupyter server config, because either can be
You can’t perform that action at this time.
0 commit comments