diff options
author | John Keiser <john@johnkeiser.com> | 2013-01-18 21:17:44 -0800 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2013-06-07 13:12:22 -0700 |
commit | 3b16515eadd22e28ac879bf0582b341c9c4a690c (patch) | |
tree | f7f322360e5473e71e699a1131073c0fcee8c3d7 /lib/chef/chef_fs/path_utils.rb | |
parent | 54a28ff3336b08e83ae7f2a6903c7a7f97bb4b78 (diff) | |
download | chef-3b16515eadd22e28ac879bf0582b341c9c4a690c.tar.gz |
Support backslash on Windows
Diffstat (limited to 'lib/chef/chef_fs/path_utils.rb')
-rw-r--r-- | lib/chef/chef_fs/path_utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/chef_fs/path_utils.rb b/lib/chef/chef_fs/path_utils.rb index e6483c3d0a..805b092b3a 100644 --- a/lib/chef/chef_fs/path_utils.rb +++ b/lib/chef/chef_fs/path_utils.rb @@ -57,7 +57,7 @@ class Chef end def self.regexp_path_separator - Chef::ChefFS::windows? ? '[/\\]' : '/' + Chef::ChefFS::windows? ? '[\/\\\\]' : '/' end # Given a path which may only be partly real (i.e. /x/y/z when only /x exists, |