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

Use $GITLIB env-var when set #74

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Use $GITLIB env-var when set #74

wants to merge 3 commits into from

Conversation

kthu
Copy link

@kthu kthu commented Oct 10, 2023

Please answer the following questions and leave the below in as part of your PR.

bbin Outdated
coords (val (first script-deps))
gitlibs-root (if-let [override (not-empty (System/getenv "GITLIBS"))]
override
"~/.gitlibs")]
Copy link
Contributor

Choose a reason for hiding this comment

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

Hardcoding the "/" will maybe not works on Windows, which is probably why @rads had the other logic before. Can you revert that change?

Copy link
Author

Choose a reason for hiding this comment

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

Sure. Does the tilde work on Windows?

Copy link
Contributor

Choose a reason for hiding this comment

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

This works because of the expand-home call later on

Copy link
Contributor

Choose a reason for hiding this comment

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

Just writing (str (fs/path (fs/home) ".gitlibs")) would probably the least magic.

kthu and others added 2 commits October 10, 2023 16:30
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.

3 participants