Merge pull request #928 from nwjsmith/develop

Fix directory creation errors when using the file state
This commit is contained in:
Thomas S Hatch 2012-03-16 14:48:58 -07:00
commit 72d7d90a6d

View File

@ -255,7 +255,7 @@ class Client(object):
env,
os.path.join(
url_data.netloc,
os.path.relpath(url_data.path, '/'))
os.path.relpath(os.path.relpath(url_data.path, '/'), '..')
)
destdir = os.path.dirname(dest)
if not os.path.isdir(destdir):