Skip to content

Commit

Permalink
Merge pull request #626 from mvdoc/fix/fs7.4.1template
Browse files Browse the repository at this point in the history
FIX use --transform in freesurfer's template to generalize across freesurfer versions
  • Loading branch information
yarikoptic authored Jul 6, 2024
2 parents 941f29c + 2dc1f11 commit ab03622
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 --transform='s,freesurfer/,,' {% 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 ab03622

Please sign in to comment.