Skip to content

fetch-macOS-v2: honour --outdir with --shortname, and stop hiding failures - #280

Open
gmipf wants to merge 1 commit into
kholia:masterfrom
gmipf:fix/fetch-macos-outdir
Open

fetch-macOS-v2: honour --outdir with --shortname, and stop hiding failures#280
gmipf wants to merge 1 commit into
kholia:masterfrom
gmipf:fix/fetch-macos-outdir

Conversation

@gmipf

@gmipf gmipf commented Jul 13, 2026

Copy link
Copy Markdown

Two problems in the same code path:

  • --outdir is ignored when --shortname is used, so the download always lands in the working directory regardless of what was asked for
  • a failed download is swallowed and the script still exits successfully, so a caller cannot tell an empty result from a finished one

This respects the requested output directory in both paths, and lets a failure be a failure.


Prepared with AI assistance (Claude Opus 4.8) and reviewed before submission.

…lures

Two problems in the same code path:

- --outdir is ignored when --shortname is used, so the download always lands in
  the working directory no matter what was asked for
- a failed download is swallowed and the script still exits successfully, so a
  caller cannot tell an empty result from a finished one

Respect the requested output directory in both paths, and let a failure be a
failure.
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