-
Notifications
You must be signed in to change notification settings - Fork 139
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
terraform symlink is broken when a relative path is used for the --install parameter #553
Comments
It's probably a poor naming of the I'm not sure what your use case is, though it looks a bit unexpected that you're cutting short |
After completing a few additional experiments, I've found that
But this one works fine:
I do agree that the help contains the example of using the absolute path only:
But still, it's uncommon for cli tools to accept absolute paths only, so it's better to update the help to highlight this limitation (or fix it). P.S. I'll update the issue headline to avoid confusion |
Would you be up to contribute? 🤔 We really appreciate contributions. |
I wish I could... But my coding skills are pretty limited 🤷♂. Maybe it's time to learn a bit? WIll see if I can find a time soon. :) |
tfswitch creates an incorrect symlink when both the
--chdir
and--install
flags are provided, and the'-- bin' flag is used.Actual behavior:
Expected behavior:
As a workaround, it's required to change the directory before the command execution (use
cd ./tesdir
instead of using--chdir ./testdir
flag)The text was updated successfully, but these errors were encountered: