Permalink
Browse files

fixed base path problem

  • Loading branch information...
1 parent 2f96cd7 commit 0370c7a2337a2e742b662c0b906e1b42ae92f597 @swissmanu committed Feb 22, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/hsrhelpers/sync/onewaymirror.rb
  2. +1 −1 lib/hsrhelpers/version.rb
@@ -57,7 +57,7 @@ def perform!
private
def prepare_path(path, base_path)
- path = path.prepend(base_path.to_s) if !base_path.nil?
+ path = File.join(base_path.to_s, path) if !base_path.nil?
path = path.gsub(":", File.join(HsrHelpers::Base.temp_dir.path, 'mounts'))
end
@@ -3,7 +3,7 @@
module HsrHelpers
class Version
- MAJOR, MINOR, PATCH = 1, 0, 1
+ MAJOR, MINOR, PATCH = 1, 0, 2
def self.major
MAJOR

0 comments on commit 0370c7a

Please sign in to comment.