File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,11 @@ else
172
172
echo readonly SMUS_PROJECT_DIR >> ~ /.bashrc
173
173
fi
174
174
175
+ # Write SMUS_PROJECT_DIR to a JSON file to be accessed by JupyterLab Extensions
176
+ jq -n \
177
+ --arg smusProjectDirectory " $SMUS_PROJECT_DIR " \
178
+ ' { smusProjectDirectory: $smusProjectDirectory }' > $HOME /.config/smus-storage-metadata.json
179
+
175
180
if [ $is_s3_storage_flag -ne 0 ]; then
176
181
# Creating a directory where the repository will be cloned
177
182
mkdir -p " $HOME /src"
Original file line number Diff line number Diff line change @@ -172,6 +172,11 @@ else
172
172
echo readonly SMUS_PROJECT_DIR >> ~ /.bashrc
173
173
fi
174
174
175
+ # Write SMUS_PROJECT_DIR to a JSON file to be accessed by JupyterLab Extensions
176
+ jq -n \
177
+ --arg smusProjectDirectory " $SMUS_PROJECT_DIR " \
178
+ ' { smusProjectDirectory: $smusProjectDirectory }' > $HOME /.config/smus-storage-metadata.json
179
+
175
180
if [ $is_s3_storage_flag -ne 0 ]; then
176
181
# Creating a directory where the repository will be cloned
177
182
mkdir -p " $HOME /src"
You can’t perform that action at this time.
0 commit comments