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

update fails if $CWD is not in $PATH #42

Open
doomedraven opened this issue Dec 19, 2022 · 0 comments
Open

update fails if $CWD is not in $PATH #42

doomedraven opened this issue Dec 19, 2022 · 0 comments

Comments

@doomedraven
Copy link
Contributor

./slrp -update

[================================================] 100%
panic: looking up path of "slrp": exec: "slrp": executable file not found in $PATH

goroutine 1 [running]:
github.com/nfx/slrp/internal/updater.AutoUpdate({0xf14490, 0x5})
	/home/runner/work/slrp/slrp/internal/updater/auto.go:42 +0x207
main.main()
	/home/runner/work/slrp/slrp/main.go:30 +0xa8

This fixes it
PATH=.:$PATH ./slrp -update

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

No branches or pull requests

1 participant