]> git.donarmstrong.com Git - biopieces.git/commitdiff
fixed a path in biopieces.rb
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 18 May 2011 15:50:33 +0000 (15:50 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Wed, 18 May 2011 15:50:33 +0000 (15:50 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1410 74ccb610-7750-0410-82ae-013aeee3265d

code_ruby/lib/maasha/biopieces.rb

index 8ee242342dcb0f6198667f9005f2ca38b185990c..abdf607090f42262ef0a8a5bbf5dca46fb7efdc4 100644 (file)
@@ -326,7 +326,7 @@ class OptionHandler
 
   # Given the script name determine the path of the wiki file with the usage info.
   def wiki_path
-    path = ENV["BP_DIR"] + "/bp_usage/" + File.basename(@script_path) + ".wiki"
+    path = File.join(ENV["BP_DIR"], "bp_usage", File.basename(@script_path)) + ".wiki"
     raise "No such wiki file: #{path}" unless File.file? path
     path
   end