Skip to content

Honor absolute diagnostics output paths - #2229

Open
offyotto wants to merge 1 commit into
linux-surface:masterfrom
offyotto:fix-diagnostics-output-path
Open

Honor absolute diagnostics output paths#2229
offyotto wants to merge 1 commit into
linux-surface:masterfrom
offyotto:fix-diagnostics-output-path

Conversation

@offyotto

Copy link
Copy Markdown

Passing an absolute path to diagnostics.sh --output prepends ./, so tar resolves it below the current directory and fails without creating the requested archive.

Pass the supplied path to tar unchanged. Relative output paths continue to resolve from the current directory.

Test: bash scripts/test-diagnostics.sh (exit 0).

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.

1 participant