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

Resolve real absolute path if prog path is a symbolic link in _get_path_of #8

Closed
wants to merge 2 commits into from
Closed

Resolve real absolute path if prog path is a symbolic link in _get_path_of #8

wants to merge 2 commits into from

Conversation

Songmu
Copy link
Collaborator

@Songmu Songmu commented Mar 11, 2013

In current implement, $mysql_basedir resolving possibly fail if mysql_install_db
is a symbolic link.

In my case, I'm using MySQL 5.6.10 homebrew installed in OSX upgraded from
5.5.28 and which mysql_install_db returns '/usr/local/bin/mysql_install_db',
but this is a symlink to '../Cellar/mysql/5.6.10/bin/mysql_install_db',
and $mysql_basedir resolving will fail.

Then I wrote this patch, but I have not so confident if is this patch appropriate or not.

…ath_of`

Bacause, `$mysql_basedir` resolving fail if mysql_install_db is a symbolic link.
@kazuho
Copy link
Owner

kazuho commented Mar 12, 2013

Thank you for the fix! squash-merged to master at commit f00337e.

@kazuho kazuho closed this Mar 12, 2013
@kazuho
Copy link
Owner

kazuho commented Mar 12, 2013

Thank you for the fix! Squash-merged to master at commit f00337e.

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.

None yet

2 participants