Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add --no-same-owner to tar -x in WDL tasks #880

Merged
merged 2 commits into from Aug 24, 2018

Conversation

tomkinsc
Copy link
Member

No description provided.

@@ -184,7 +184,7 @@ task refine {
# prep GATK
mkdir gatk
if [[ ${gatk_jar} == *.tar.bz2 ]]; then
tar -xjvf ${gatk_jar} -C gatk
tar -xjvf ${gatk_jar} -C gatk --no-same-owner
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tomkinsc not sure matters, but 'tar -o' is more portable: npm/npm#1128

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Thought I checked this but apparently I have GNU tar installed on my Mac...

-o is more portable
@dpark01
Copy link
Member

dpark01 commented Aug 22, 2018

Good catch. Though technically this is the one place we don’t have to be portable (since we’re running in docker), it’s good practice anyway.

@tomkinsc tomkinsc merged commit 2862db7 into master Aug 24, 2018
@tomkinsc tomkinsc deleted the ct-align_and_plot_wdl_tar branch August 24, 2018 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants