From 4c188b03c1b0cf760f2f49bd847e5bd21aee27d7 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Wed, 18 May 2011 15:50:33 +0000 Subject: [PATCH] fixed a path in biopieces.rb git-svn-id: http://biopieces.googlecode.com/svn/trunk@1410 74ccb610-7750-0410-82ae-013aeee3265d --- code_ruby/lib/maasha/biopieces.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code_ruby/lib/maasha/biopieces.rb b/code_ruby/lib/maasha/biopieces.rb index 8ee2423..abdf607 100644 --- a/code_ruby/lib/maasha/biopieces.rb +++ b/code_ruby/lib/maasha/biopieces.rb @@ -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 -- 2.39.5