Skip to content

Show working-directory paths under the build directory - #25

Open
samth wants to merge 1 commit into
racket:masterfrom
samth:scrub-build-paths
Open

samth wants to merge 1 commit into
racket:masterfrom
samth:scrub-build-paths

Conversation

@samth

@samth samth commented Oct 20, 2026

Copy link
Copy Markdown
Member

Output from a build step replaced its working directory, the build's
trunk, with "". The replacement also took the directory's trailing
separator, so paths appeared as "racket/collects/...", and it hid
where they were. Every working directory DrDr uses is inside the build
directory, whose rule already rewrites these paths to
"/opt/plt/builds//trunk/...", the form command lines show.
Drop the "" rule, and keep the separator after "" and
"" when TMPDIR or HOME ends in one.

Output from a build step replaced its working directory, the build's
trunk, with "<cwd>". The replacement also took the directory's trailing
separator, so paths appeared as "<cwd>racket/collects/...", and it hid
where they were. Every working directory DrDr uses is inside the build
directory, whose rule already rewrites these paths to
"/opt/plt/builds/<current-rev>/trunk/...", the form command lines show.
Drop the "<cwd>" rule, and keep the separator after "<tmp>" and
"<home>" when TMPDIR or HOME ends in one.
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