mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6085 from dearblue/define_installer.1
Fixed `MRuby::Build#define_installer`
This commit is contained in:
+1
-1
@@ -397,7 +397,7 @@ EOS
|
||||
dst = "#{self.class.install_dir}/#{File.basename(src)}"
|
||||
define_installer_outline(src, dst) do
|
||||
File.unlink(dst) rescue nil
|
||||
File.symlink(File.expand_path(src), dst)
|
||||
File.symlink(src.relative_path_from(self.class.install_dir), dst)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user