Skip to content
Browse files

Fix symlink generation when installing using the DESTDIR option

Most notably the nightly builds were getting messed up because the
symlinks for the bin scripts were pointing to a directory that did
not exist on most systems.
  • Loading branch information...
1 parent bd3420d commit 7646174013a8a2b1cf970f8b90364b6265a124a2 @ferrous26 ferrous26 committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 rakelib/install.rake
View
2 rakelib/install.rake
@@ -285,7 +285,7 @@ namespace :install do
next if file.match(/^\./)
# Except rb_nibtool & llc!
next if file == 'rb_nibtool' or file == 'llc'
- link = with_destdir "#{FRAMEWORK_USR_BIN}/#{file}"
+ link = "#{FRAMEWORK_USR_BIN}/#{file}"
link.sub!(/#{INSTALL_VERSION}/, 'Current')
link_dest = "#{dest_bin}/#{File.basename(file)}"
unless File.exists?(with_destdir(link_dest))

0 comments on commit 7646174

Please sign in to comment.
Something went wrong with that request. Please try again.