Skip to content

Commit

Permalink
fixed path problem in install.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
jadehopepunk committed Apr 13, 2009
1 parent 9ca6c73 commit f5d554e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

require 'ftools'

plugins_dir = File.expand_path(".")
redbox_dir = File.join(plugins_dir, 'redbox')
redbox_dir = File.dirname(__FILE__)
root_dir = File.join(redbox_dir, '..', '..', '..')

File.copy File.join(redbox_dir, 'javascripts', 'redbox.js'), File.join(root_dir, 'public', 'javascripts', 'redbox.js')
Expand Down

0 comments on commit f5d554e

Please sign in to comment.