Skip to content

Commit

Permalink
🐛 Move export AIIDA_PATH out of if archive_url
Browse files Browse the repository at this point in the history
  • Loading branch information
GeigerJ2 authored Mar 15, 2024
1 parent 8dfb01b commit c6ae7e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aiida/post-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ project_dir="$(pwd)"
repo_dir="${project_dir}/repo"
mkdir "$repo_dir"

{% if archive_url %}

# Export AIIDA_PATH environment variable
export AIIDA_PATH=$repo_dir

{% if archive_url %}

archive_url="{{ archive_url }}"
archive_name="${archive_url#*filename=}"
archive_path="${repo_dir}/${archive_name}"
Expand Down

0 comments on commit c6ae7e0

Please sign in to comment.