Skip to content

Commit

Permalink
FIX strip-components 2 for freesurfer 7.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc committed Jun 22, 2024
1 parent a171972 commit 89418cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurodocker/templates/freesurfer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ binaries:
echo "Downloading FreeSurfer ..."
mkdir -p {{ self.install_path }}
curl -fL {{ self.urls[self.version] }} \
| tar -xz -C {{ self.install_path }} --owner root --group root --no-same-owner --strip-components 1 {% if self.exclude_paths -%}\
| tar -xz -C {{ self.install_path }} --owner root --group root --no-same-owner --strip-components {% if self.version in ("7.4.1") %}2{% else %}1{% endif %} {% if self.exclude_paths -%}\
{%- for exclude_path in self.exclude_paths.split() %}
{% if not loop.last -%}
--exclude='{{ exclude_path }}' \
Expand Down

0 comments on commit 89418cc

Please sign in to comment.