Skip to content

Commit

Permalink
Merge pull request #1 from ryopeko/fix-symlink-to-real-path
Browse files Browse the repository at this point in the history
fix symlink to realpath
  • Loading branch information
miyucy committed Jul 20, 2014
2 parents 92785e3 + 67b581e commit 9f0da58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/test/mysqld.rb
Expand Up @@ -130,7 +130,8 @@ def find_mysqld

def find_mysql_install_db
suppress_logging
find_executable 'mysql_install_db'
exec_file_path = find_executable 'mysql_install_db'
File.expand_path(File.readlink(exec_file_path), File.dirname(exec_file_path))
end

def default_base_dir
Expand Down

0 comments on commit 9f0da58

Please sign in to comment.