mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
change in InstallLib assumes build/lib/salt and looks for a file based on that assumption. on certain platforms this fails and causes the setup.py to fail.
This commit is contained in:
parent
29960eba4c
commit
19f5d19f1f
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
@ -389,7 +389,10 @@ class InstallLib(install_lib):
|
|||
inp = self.get_inputs()
|
||||
out = self.get_outputs()
|
||||
|
||||
idx = inp.index('build/lib/salt/templates/git/ssh-id-wrapper')
|
||||
#idx = inp.index('build/lib/salt/templates/git/ssh-id-wrapper')
|
||||
for i, word in enumerate(inp):
|
||||
if word.endswith('salt/templates/git/ssh-id-wrapper'):
|
||||
idx = i
|
||||
filename = out[idx]
|
||||
|
||||
os.chmod(filename, 0755)
|
||||
|
|
Loading…
Add table
Reference in a new issue