Commit 38e9ebf2 authored by Zhang, Chen's avatar Zhang, Chen
Browse files

use fullpath to avoid loop

parent 483a1c26
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -4,4 +4,9 @@
source "$(dirname "$(realpath "$0")")/nsd-app-wrap.sh"

# launch the tool, JUPYTER_DATA_DIR is set to avoid conflicts with jupyter.sns.gov
JUPYTER_DATA_DIR=~/.local/share/jupyter_local activate_and_launch base jupyter notebook
if [ -f /opt/anaconda/bin/jupyter ]; then
    JUPYTER_DATA_DIR=~/.local/share/jupyter_local activate_and_launch base /opt/anaconda/bin/jupyter notebook
else
    echo "Jupyter not found in /opt/anaconda/bin !!"
    echo "Please contact linux@support.sns.gov for help."
fi