Skip to content

Commit

Permalink
General: Make some changes to how some of these commands are invoked
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Puerto committed Feb 12, 2024
1 parent bb83838 commit 7ae4b39
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ echo $(date)
### Environment initialization
{% if module_manager == "tar" %}
if [ ! -d "$VENV_PATH" ]; then
mkdir -p "$VENV_PATH"
tar -xf {{ tar_file_path }} -C "$VENV_PATH"
TEMP_WORK_PATH=$(pwd)
cd "{{ workspace_full_path }}"
mkdir -p ".JupyterLabJob_venv"
tar -xzf {{ tar_file_path }} -C ".JupyterLabJob_venv"
cd $TEMP_WORK_PATH
fi
echo $(date)
echo "VENV copied"
Expand Down

0 comments on commit 7ae4b39

Please sign in to comment.