diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-12-11 16:24:29 -0800 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-12-11 16:24:29 -0800 |
commit | da59a45b758793562babf871a9aedb1cd51726fd (patch) | |
tree | f1ca8deb23a0c8f50ef418bbc8c2bce0a89fed39 /lib/chef/provider/link.rb | |
parent | 16b1b5f977f6858d914d5b1fe748b4d6a4cff7f4 (diff) | |
download | chef-da59a45b758793562babf871a9aedb1cd51726fd.tar.gz |
Revert "Merge pull request #1901 from opscode/dont-prepend-to-relative-paths"
This reverts commit 1241ea6f9866d0e61d11129bb32e5fc96cd2bac0, reversing
changes made to 34d956c6b96087e6ca4bfbc9080037ded481709d.
Conflicts:
spec/functional/resource/file_spec.rb
spec/functional/resource/link_spec.rb
spec/unit/provider/link_spec.rb
Diffstat (limited to 'lib/chef/provider/link.rb')
-rw-r--r-- | lib/chef/provider/link.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/link.rb b/lib/chef/provider/link.rb index 417d6a21b0..c811c13cdf 100644 --- a/lib/chef/provider/link.rb +++ b/lib/chef/provider/link.rb @@ -86,7 +86,7 @@ class Chef end def canonicalize(path) - Chef::Util::PathHelper.canonical_path(path) + Chef::Platform.windows? ? path.gsub('/', '\\') : path end def action_create |