Skip to content

Commit

Permalink
the version of realpath from pathname3 doesn't seem to work correctly…
Browse files Browse the repository at this point in the history
…. switch to using expand_path here since it doesn't actually matter if we have symlinks. will fix pathname later.
  • Loading branch information
ttilley committed Sep 8, 2009
1 parent bc1aff6 commit 50cfc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fssm/path.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def split_path(path)
def set_path(path)
path = FSSM::Pathname.for(path)
raise FSSM::FileNotFoundError, "#{path}" unless path.exist?
@path = path.realpath
@path = path.expand_path
end

def set_glob(glob)
Expand Down

0 comments on commit 50cfc0e

Please sign in to comment.