mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #928 from nwjsmith/develop
Fix directory creation errors when using the file state
This commit is contained in:
commit
72d7d90a6d
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user