We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7d84ed commit 310f83cCopy full SHA for 310f83c
_tools/ruby_h_to_go/exe/ruby_h_to_go
@@ -15,7 +15,7 @@ header_dir = nil
15
dist_dir = nil
16
17
DEFAULT_RUBY_HEADER_DIR = RbConfig::CONFIG["rubyhdrdir"]
18
-DEFAULT_DIST_DIR = File.join(__dir__, "..", "dist")
+DEFAULT_DIST_DIR = File.expand_path("../dist", __dir__)
19
20
opt = OptionParser.new
21
opt.on("-H", "--header-dir HEADER_DIR", "ruby header dir (default: #{DEFAULT_RUBY_HEADER_DIR})") { |v| header_dir = v }
0 commit comments