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:
Gareth J. Greenaway 2014-03-18 20:27:48 -07:00
parent 29960eba4c
commit 19f5d19f1f

View file

@ -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)