Skip to content

Fix configure warning showing binary path instead of directory for PATH#14459

Open
cderv wants to merge 1 commit intomainfrom
fix/issue-14426
Open

Fix configure warning showing binary path instead of directory for PATH#14459
cderv wants to merge 1 commit intomainfrom
fix/issue-14426

Conversation

@cderv
Copy link
Copy Markdown
Member

@cderv cderv commented Apr 29, 2026

Closes #14426

When the configure script cannot create a quarto symlink in a
user-writable bin path, it falls back to printing:

> Please ensure that <path> is in your path.

The interpolated path was join(config.directoryInfo.bin, "quarto") — i.e.
the binary itself (.../package/dist/bin/quarto). Since PATH expects a
directory, the suggested path was always wrong: copy-pasting it into
PATH would never work.

Use config.directoryInfo.bin directly so the warning prints the
directory the developer actually needs to add to PATH.

Reported by @wlatendresse.

The "Please ensure that <path> is in your path" warnings emitted when
the configure script cannot create a symlink were showing the path to
the quarto binary itself, but PATH expects a directory. Use
config.directoryInfo.bin so the warning reports the directory users
should add to PATH.

Closes #14426
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.

Buildprocess emits slightly misleading warning (binary location instead of directory location for $PATH)

1 participant