Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions config/thisroot.csh
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,14 @@ if ($?old_rootsys) then
-e "s;^$old_rootsys/etc/notebook:;;g" \
-e "s;^$old_rootsys/etc/notebook${DOLLAR};;g"`
endif
# Potential leftovers from future ROOT > v6.34
if ($?JUPYTER_CONFIG_PATH) then
setenv JUPYTER_CONFIG_PATH `set DOLLAR='$'; echo $JUPYTER_CONFIG_PATH | \
sed -e "s;:$old_rootsys/etc/notebook:;:;g" \
-e "s;:$old_rootsys/etc/notebook${DOLLAR};;g" \
-e "s;^$old_rootsys/etc/notebook:;;g" \
-e "s;^$old_rootsys/etc/notebook${DOLLAR};;g"`
endif

endif

Expand Down
5 changes: 5 additions & 0 deletions config/thisroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ clean_environment()
drop_from_path "$JUPYTER_CONFIG_DIR" "${old_rootsys}/etc/notebook"
JUPYTER_CONFIG_DIR=$newpath
fi
# Potential leftovers from future ROOT > v6.34
if [ -n "${JUPYTER_CONFIG_PATH-}" ]; then
drop_from_path "$JUPYTER_CONFIG_PATH" "${old_rootsys}/etc/notebook"
JUPYTER_CONFIG_PATH=$newpath
fi
fi
if [ -z "${MANPATH-}" ]; then
# Grab the default man path before setting the path to avoid duplicates
Expand Down
Loading