mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Remove _git from winrepo dir name
This commit is contained in:
parent
819270445b
commit
69b42256be
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ def update_git_repos(opts=None, clean=False, masterless=False):
|
|||
rev, remote_url = remote_info.strip().split()
|
||||
except ValueError:
|
||||
remote_url = remote_info
|
||||
gittarget = os.path.join(base_dir, targetname).replace(".", "_")
|
||||
gittarget = os.path.join(base_dir, targetname).replace(".git", "")
|
||||
if masterless:
|
||||
result = __salt__["state.single"](
|
||||
"git.latest",
|
||||
|
|
Loading…
Add table
Reference in a new issue