zuv0 commited on
Commit
a99144a
·
verified ·
1 Parent(s): 3ffebec

Update downs.sh

Browse files
Files changed (1) hide show
  1. downs.sh +2 -3
downs.sh CHANGED
@@ -14,20 +14,19 @@ if [ -d "/workspace/firstContainer" ]; then
14
  GOORM="1"
15
  elif [ -d "/workspace" ]; then
16
  RUNPOD="1"
17
- elif [ -d "~/sagemaker-studiolab-notebooks" ]; then
18
  SAGEMAKER="1"
19
  fi
20
 
21
  RELATIVE_DIR=""
22
 
23
  if [ "$SAGEMAKER" == "1" ]; then
24
- RELATIVE_DIR='~/sagemaker-studiolab-notebooks'
25
  else
26
  RELATIVE_DIR=`dirname "$0"`
27
  fi
28
 
29
  echo "$RELATIVE_DIR"
30
-
31
  cd $RELATIVE_DIR
32
 
33
  if [ -d "SD" ]; then
 
14
  GOORM="1"
15
  elif [ -d "/workspace" ]; then
16
  RUNPOD="1"
17
+ elif [ -d "/home/studio-lab-user" ]; then
18
  SAGEMAKER="1"
19
  fi
20
 
21
  RELATIVE_DIR=""
22
 
23
  if [ "$SAGEMAKER" == "1" ]; then
24
+ RELATIVE_DIR='/home/studio-lab-user/sagemaker-studiolab-notebooks'
25
  else
26
  RELATIVE_DIR=`dirname "$0"`
27
  fi
28
 
29
  echo "$RELATIVE_DIR"
 
30
  cd $RELATIVE_DIR
31
 
32
  if [ -d "SD" ]; then