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 proper path to create host-config symlink #119

Merged
merged 2 commits into from
Aug 23, 2023

Conversation

cyrush
Copy link
Member

@cyrush cyrush commented Aug 23, 2023

No description provided.

@cyrush cyrush requested a review from white238 August 23, 2023 17:40
elif os.path.isfile(hc_fname):
sexe("rm -f {0}".format(hc_fname))
print("[symlinking host config file to {0}]".format(pjoin(self.dest_dir,hc_fname)))
os.symlink(hc_path,hc_fname)
Copy link
Member Author

@cyrush cyrush Aug 23, 2023

Choose a reason for hiding this comment

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

this guy was the issue, it wasn't using the pjoined path that was actually printed

Copy link
Collaborator

Choose a reason for hiding this comment

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

my mistake. thank you for catching this

uberenv.py Outdated Show resolved Hide resolved
Co-authored-by: Alex Tyler Chapman <100869159+chapman39@users.noreply.github.com>
@cyrush cyrush merged commit 991a9ce into main Aug 23, 2023
@cyrush cyrush deleted the task/2023_08_symlink_path_bugfix branch August 23, 2023 20:20
@cyrush
Copy link
Member Author

cyrush commented Aug 23, 2023

thanks!

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