Skip to content

Commit b2ae83c

Browse files
committed
use bash instead of sh
1 parent 02ede8a commit b2ae83c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

init.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ export MY_REPO=$(ls -d "/home/onyxia/work"/*/ | head -n 1 | xargs basename)
77
sh $MY_REPO/sspcloud/restore_environment.sh
88

99
# Download data
10-
sh $MY_REPO/sspcloud/download_data.sh
10+
# This script is run with bash because there is a bash array
11+
bash $MY_REPO/sspcloud/download_data.sh

sspcloud/init-trainees.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export MY_REPO=$(ls -d "/home/onyxia/work"/*/ | head -n 1 | xargs basename)
77
sh $MY_REPO/sspcloud/restore_environment.sh
88

99
# Download data
10-
sh $MY_REPO/sspcloud/download_data.sh
10+
# This script is run with bash because there is a bash array
11+
bash $MY_REPO/sspcloud/download_data.sh
1112

1213
# Download the notebook
1314
# $1 is an argument giving the path of the notebook within the website (eg, notebooks/notebook1.ipynb)

0 commit comments

Comments
 (0)