summaryrefslogtreecommitdiffstats
path: root/docs/Rakefile
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2015-10-12 10:46:17 -0700
committerDavid Tolnay <dtolnay@gmail.com>2015-10-12 10:46:17 -0700
commitc5875504dacafd5b97c6bee0154113e205014758 (patch)
tree2c3592d94499483304e7de1dc24ad1163a503ba8 /docs/Rakefile
parent05d1c09cc1c6975dd3c2be76a9149ffa84255894 (diff)
Explicitly use current directory in Rakefile
Diffstat (limited to 'docs/Rakefile')
-rw-r--r--docs/Rakefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/Rakefile b/docs/Rakefile
index 3f4655db..93302a21 100644
--- a/docs/Rakefile
+++ b/docs/Rakefile
@@ -1,5 +1,6 @@
-rakefile_manual = File.expand_path("Rakefile.manual", __FILE__)
-rakefile_website = File.expand_path("Rakefile.website", __FILE__)
+current_dir = File.dirname(__FILE__)
+rakefile_manual = File.expand_path(File.join(current_dir, "Rakefile.manual"))
+rakefile_website = File.expand_path(File.join(current_dir, "Rakefile.website"))
desc "Build the manpage from the bonsai source of the manual"
task :manpage do